]> code.communitydata.science - cdsc_tex.git/blobdiff - Makefile
added article-1 (which i do need after all)
[cdsc_tex.git] / Makefile
index 990fa79dd4cc5c7dca101309c5fb0f5f5e689cd2..d4bbda0fc4e4c05ced81ab89a19db22127b2b5ab 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,24 +1,23 @@
 #!/usr/bin/make
 
 all: $(patsubst %.tex,%.pdf,$(wildcard *.tex)) 
+pdf: all
 
-
-%.pdf: %.png
-       png2pdf -p 1.4 -a $< $@
-
-%.pdf: %.tex 
+%.pdf: %.tex
        rubber -fd $<
 
 clean: 
        rubber -d --clean *.tex
        rm -f *.tmp
-       rm -f figures/*.pdf
+       rm -f vc
 
-viewpdf: pdf
-       evince text.pdf
+viewpdf: all
+       evince *.pdf
 
 spell:
        aspell -c -t --tex-check-comments -b text.tex
 
+vc:
+       vc-git
 
 .PHONY: clean all

Community Data Science Collective || Want to submit a patch?