about summary refs log tree commit diff homepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index d865ae7..ae906eb 100644
--- a/Makefile
+++ b/Makefile
@@ -9,15 +9,15 @@ all: gemini www
 %/:
 	mkdir $@
 
-gemini/%.gmi: %.md
-	md2gemini --links=paragraph < $< > $@
+gemini/%.gmi: www/%.xhtml gemini/
+	xsltproc gmi.xslt $< > $@
 
-gemini: gemini/ $(GMI)
+gemini: $(GMI)
 
-www/%.xhtml: %.md
+www/%.xhtml: %.md www/
 	makepage < $< | xsltproc xhtml.xslt - > $@
 
-www: www/ $(XHTML)
+www: $(XHTML)
 
 clean:
 	rm -f $(GMI) $(XHTML)