diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2014-04-08 21:33:08 -0400 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2014-04-08 21:33:08 -0400 |
commit | 222d67cf3d017b3eec2f857cee43f609ff5d1548 (patch) | |
tree | 047189ee168f8e9806e52ea1823d4bb926c0148a /tex.mk | |
parent | 782d4a258c4960a5a82c6c5d981f42dcf96af1b8 (diff) | |
download | makefile_templates-222d67cf3d017b3eec2f857cee43f609ff5d1548.tar.gz makefile_templates-222d67cf3d017b3eec2f857cee43f609ff5d1548.zip |
tex can select between rubber and pdflatex
Diffstat (limited to 'tex.mk')
-rw-r--r-- | tex.mk | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -14,7 +14,14 @@ pdf_tex: $(pdf_from_independent_tex) # rubber does not deal with nicely with subfiles # thus force switch below $(pdf_from_independent_tex): %.pdf : %.tex $(tex_fig_files) $(tex_includes) +ifndef USE_PDF_LATEX rubber -f -d $< +else + pdflatex $< + bibtex $(<:%.tex=%) + pdflatex $< + pdflatex $< +endif dest_dir_tex: $(INSTALL) -d -m 0755 $(dest_dir) |