From 401682c5124b581ffc81cc9bd208f19435e93b5b Mon Sep 17 00:00:00 2001 From: Nick White Date: Sat, 13 Nov 2010 19:27:02 +0000 Subject: Simplify homepage significantly --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 46d70b1..3c9d583 100644 --- a/Makefile +++ b/Makefile @@ -52,6 +52,12 @@ writing/index.txt: $(BIB) $(WRITING) sh bibtotxt.sh $(BIB) >> $@ sh listarticles.sh writing $(BIB) >> $@ +index.html: index.txt + echo making $@ + sed "s/TITLE/`head -n 1 < $<`/" < includes/header.xml > $@ + $(MD) $< | sed 's/

/

/' >> $@ + sed '2d' < includes/footer.xml >> $@ + clean: rm -f -- $(TARGETS) $(GZIP) -- cgit v1.2.3