More fixes to web Makefile.

git-svn-id: https://pandoc.googlecode.com/svn/trunk@1920 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
fiddlosopher
2010-03-19 16:18:46 +00:00
parent e8f56d4c79
commit cfd47dbc3e
+4 -1
View File
@@ -1,4 +1,4 @@
ALL := index.html README.html INSTALL.html examples.html pandoc.1.html markdown2pdf.1.html html2x.html
ALL := index.html README.html INSTALL.html examples.html pandoc.1.html markdown2pdf.1.html html2x.html changelog.txt
PANDOC_PATH ?= $(dir $(shell which pandoc))
PANDOC_SRC ?= ${HOME}/src/pandoc
MAKEPAGE = $(PANDOC_PATH)/pandoc -s -S -H css -A footer.html
@@ -10,6 +10,9 @@ clean:
for file in $(ALL); do rm $$file; done; \
rm -r example*;
changelog.txt : changelog
cp $< $@
# 'make update' pulls in source files from the pandoc source directory
sources := $(PANDOC_SRC)/dist/doc/html $(PANDOC_SRC)/changelog \
$(PANDOC_SRC)/INSTALL $(wildcard $(PANDOC_SRC)/man/man1/*.1) \