diff options
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) |