REPEAT_TEXT = 'Rerun to get cross-references right'
-%.pdf: %.dvi
- dvipdf $(basename $@)
+#%.pdf: %.dvi
+# dvipdf $(basename $@)
+
+IMAGES=images/*.svg
%.ps: %.svg
inkscape $(addsuffix .svg,$(basename $@)) --export-ps=$@
-%.dvi: %.tex images/recoretheme/recore_logo_bow.ps
- latex '\scrollmode\input $(basename $@)' || exit 1; \
- latex '\scrollmode\input $(basename $@)' || exit 1; \
+%.pdf: %.svg
+ inkscape $(addsuffix .svg,$(basename $@)) --export-pdf=$@
+
+%.pdf: %.tex images/recoretheme/recore_logo_bow.pdf
+ pdflatex '\scrollmode\input $(basename $@)' || exit 1; \
+ pdflatex '\scrollmode\input $(basename $@)' || exit 1; \
while grep -s $(REPEAT_TEXT) $(addsuffix .log,$(basename $@)) ; do \
- latex '\scrollmode\input $(basename $@)' || exit 1; \
+ pdflatex '\scrollmode\input $(basename $@)' || exit 1; \
done
# Extra dependencies
-Progress.dvi: beamerthemerecore.sty images/Compiling.ps
-InternalProgress.dvi: beamerthemerecore.sty
+Progress.pdf: beamerthemerecore.sty images/Compiling.pdf
+InternalProgress.pdf: beamerthemerecore.sty
clean:
rm -f *.ps *.pdf *.dvi *.log *.toc *.out *.aux *.bbl *.blg *.lof *.nav *.snm