Changing to relative location of vc-git.awk
[beamer-mako] / template / Makefile
index 82020c383a982b0abf2f612f2dc3ef785f7816e7..a3c7b193868c46bd0eef7ff88dc8b5ebe4aaf50b 100644 (file)
@@ -4,8 +4,10 @@ all: notes.config vc $(patsubst %.tex,%.pdf,$(wildcard *.tex))
 pdf: all
 
 %.pdf: %.tex 
-       rubber -fd $<
-       extract-notes $<
+       latexmk -f -pdf $<
+       qpdf --qdf --object-streams=disable $@ - | sponge $@
+       sed -e 's|/PageLabels|/BageLapels|g' < $@ |sponge $@
+       qpdf $@ - | sponge $@
 
 # by default, we produce combined notes/slides output
 notes.config:
@@ -24,16 +26,17 @@ slides: slides-config pdf
 viewpdf: all
        evince *.pdf
 
-pdfpc: notes.config
+pdfpc: notes.config pdf
        pdfpc -n right *pdf
 
 spell:
        aspell -c -t --tex-check-comments -b text.tex
 
 vc:
-       vc-git
+       resources/vc-git
 
 clean: 
+       latexmk -C *.tex
        rubber -d --clean *.tex
        rm -f *.tmp
        rm -f vc

Benjamin Mako Hill || Want to submit a patch?