diff options
author | Nick White <git@njw.me.uk> | 2010-07-20 14:34:25 +0100 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2010-07-20 14:34:25 +0100 |
commit | 4a43cd79f1cd901f7988260b1872d1d306f2a848 (patch) | |
tree | 9cf897e3bfac365eb0285a28353633e3566a8d63 /Makefile | |
parent | f975c76c75dff961669adbe6f8de66e022dfd7da (diff) | |
download | njw-website-4a43cd79f1cd901f7988260b1872d1d306f2a848.tar.bz2 njw-website-4a43cd79f1cd901f7988260b1872d1d306f2a848.zip |
First draft of unburn article, and article build infrastructure
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -10,6 +10,7 @@ BIB=pubs/index.ttl BIBTXT=pubs/index.txt PAGES=$(shell find . -name '*.txt' ! -name 'robots.txt' ! -name $(RSS)) $(BIBTXT) PUBS=$(shell find ./pubs/ -name '*.txt' ! -name 'index.*') +ARTS=$(shell find ./articles/ -name '*.txt' ! -name 'index.*') EXTRAS=$(shell find . -name '*.css') card.ttl TARGETS=$(PAGES:.txt=.html) $(RSS) $(BIBTXT) GZIP=$(PAGES:=.gz) $(TARGETS:=.gz) $(EXTRAS:=.gz) $(BIB:=.gz) @@ -50,6 +51,10 @@ pubs/index.txt: $(BIB) echo making $@ sh bibtotxt.sh $< > $@ +articles/index.txt: $(ARTS) + echo making $@ + sh dirindex.sh articles > $@ + clean: rm -f -- $(TARGETS) $(GZIP) |