diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 7 insertions, 10 deletions
@@ -6,11 +6,10 @@ MD=smu MDTEX=/home/nick/src/misc/smu/smu RSS=index.ttl -BIB=pubs/index.ttl -BIBTXT=pubs/index.txt +BIB=writing/index.ttl +BIBTXT=writing/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.*') +WRITING=$(shell find ./writing/ -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) @@ -47,13 +46,11 @@ $(RSS): $(PAGES) echo making $@ sh makerss.sh $(SITENAME) $(FOAF) $* > $@ -pubs/index.txt: $(BIB) +writing/index.txt: $(BIB) $(WRITING) echo making $@ - sh bibtotxt.sh $< > $@ - -articles/index.txt: $(ARTS) - echo making $@ - sh dirindex.sh articles > $@ + cat includes/writingheader.txt > $@ + sh bibtotxt.sh $(BIB) >> $@ + sh listarticles.sh writing $(BIB) >> $@ clean: rm -f -- $(TARGETS) $(GZIP) |