]> projects.mako.cc - latex_mako/blobdiff - Makefile
added support for the vc plugin
[latex_mako] / Makefile
index 990fa79dd4cc5c7dca101309c5fb0f5f5e689cd2..b88ef22f239c323b8c4fe5f006629ba1869ef553 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 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

Benjamin Mako Hill || Want to submit a patch?