diff --git a/makefile b/makefile index 9112e6c..181e9f5 100644 --- a/makefile +++ b/makefile @@ -1,7 +1,7 @@ -SOURCES=index.md -COMPILED=index.html index-html5.html index.tex index.pdf -TEMPLATEPATH=./templates/ -FILTERPATH=./py/ +SOURCES:=index.md +COMPILED:=index.html index-html5.html index.tex index.pdf +TEMPLATEPATH:=./templates/ +FILTERPATH:=./py/ all: $(COMPILED) diff --git a/makefile-local b/makefile-local index d7277b5..be25c5a 100644 --- a/makefile-local +++ b/makefile-local @@ -1,13 +1,13 @@ -SOURCES=index.md -COMPILED=index.html index-html5.html index.tex index.pdf +SOURCES:=index.md +COMPILED:=index.html index-html5.html index.tex index.pdf all: $(SOURCES) $(COMPILED) index.html: $(SOURCES) - pandoc -s --toc --mathjax -o test-local.html $(SOURCES) + pandoc -s --toc --mathjax -o test-local.html $< index-html5.html: $(SOURCES) - pandoc -s --toc --mathjax -t html5 -o test-local-html5.html $(SOURCES) + pandoc -s --toc --mathjax -t html5 -o test-local-html5.html $< index.tex: $(SOURCES) - pandoc -s --toc --filter=pandoc-amsthm.py -o test-local.tex $(SOURCES) + pandoc -s --toc --filter=pandoc-amsthm.py -o test-local.tex $< index.pdf: $(SOURCES) - pandoc -s --toc --filter=pandoc-amsthm.py -o test-local.pdf $(SOURCES) \ No newline at end of file + pandoc -s --toc --filter=pandoc-amsthm.py -o test-local.pdf $< \ No newline at end of file