summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2010-05-07 18:28:42 +0100
committerNick White <git@njw.me.uk>2010-05-07 18:28:42 +0100
commitff9864ab6fd9df4f20a6f05610488b7a6cd839f5 (patch)
tree636a8f7e0ef52a2cf08af6b7c005da4549c14422 /Makefile
parentf711b172ee6b8de4a40c9d292f7bf0e4927d049a (diff)
downloadnjw-website-ff9864ab6fd9df4f20a6f05610488b7a6cd839f5.tar.bz2
njw-website-ff9864ab6fd9df4f20a6f05610488b7a6cd839f5.zip
Clean up makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index bc0a0e1..67ce05b 100644
--- a/Makefile
+++ b/Makefile
@@ -6,11 +6,12 @@ MD=smu
RSS=index.ttl
BIB=publications/index.ttl
-PAGES=$(shell find . -name '*.txt' ! -name 'robots.txt' ! -name $(RSS))
+BIBTXT=publications/index.txt
+PAGES=$(shell find . -name '*.txt' ! -name 'robots.txt' ! -name $(RSS)) $(BIBTXT)
PUBS=$(shell find ./publications/ -name '*.txt' ! -name 'index.*')
EXTRAS=$(shell find . -name '*.css') card.ttl
-TARGETS=$(PAGES:.txt=.xml) $(RSS) # $(PUBS:.txt=.pdf)
-GZIP=$(PAGES:=.gz) $(TARGETS:=.gz) $(EXTRAS:=.gz)
+TARGETS=$(PAGES:.txt=.xml) $(RSS) $(BIBTXT)
+GZIP=$(PAGES:=.gz) $(TARGETS:=.gz) $(EXTRAS:=.gz) $(BIB:=.gz)
all: $(TARGETS) $(GZIP)