From 222d67cf3d017b3eec2f857cee43f609ff5d1548 Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Tue, 8 Apr 2014 21:33:08 -0400 Subject: tex can select between rubber and pdflatex --- tex.mk | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tex.mk') diff --git a/tex.mk b/tex.mk index f130ee9..d0254bf 100644 --- a/tex.mk +++ b/tex.mk @@ -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) -- cgit v1.2.3