moved from rubber to latexmk (at least for now)
[beamer-mako] / template / Makefile
index ac308642814d94333a28d9732e29b086e5ea52fd..da907e7f6ec75f7bc01cc15c7f5693b3641ef5f6 100644 (file)
@@ -4,7 +4,10 @@ all: notes.config vc $(patsubst %.tex,%.pdf,$(wildcard *.tex))
 pdf: all
 
 %.pdf: %.tex 
-       rubber -fd $<
+       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:
@@ -23,7 +26,7 @@ slides: slides-config pdf
 viewpdf: all
        evince *.pdf
 
-pdfpc: notes.config
+pdfpc: notes.config pdf
        pdfpc -n right *pdf
 
 spell:
@@ -33,6 +36,7 @@ vc:
        vc-git
 
 clean: 
+       latexmk -C *.tex
        rubber -d --clean *.tex
        rm -f *.tmp
        rm -f vc

Benjamin Mako Hill || Want to submit a patch?