From 4e036ed653e4f5ae35b172afc23860c425ea1a0d Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Fri, 13 Oct 2023 18:03:08 +0900 Subject: Use XSLT for gemtext --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Makefile') 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) -- cgit 1.4.1