summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/stex/lib/make/Makefile.latex.in
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/stex/lib/make/Makefile.latex.in')
-rw-r--r--macros/latex/contrib/stex/lib/make/Makefile.latex.in33
1 files changed, 0 insertions, 33 deletions
diff --git a/macros/latex/contrib/stex/lib/make/Makefile.latex.in b/macros/latex/contrib/stex/lib/make/Makefile.latex.in
deleted file mode 100644
index 282beb40d8..0000000000
--- a/macros/latex/contrib/stex/lib/make/Makefile.latex.in
+++ /dev/null
@@ -1,33 +0,0 @@
-pdf: sms driver $(TARGET.pdf) $(LTARGET.pdf)
-mpdf: sms $(MODS.pdf)
-# LaTeX build rules:
-#
-# use non-interactive PDFLATEX (see above)
-#
-# _always_ delete pdf on error (otherwise, we end up with a corrupt
-# pdf file and make saying "nothing to do" on the next run )
-#
-# make will delete temporary files (toc,sms,aux) afterwards
-# (FIXME: why? should this be disabled or kept like that?)
-#
-# make pdf depend on its own .toc and .aux and global aux/sms files
-$(TARGET.pdf) $(LTARGET.pdf): %.pdf: %.tex $(MODS) $(TARGET.parts) $(IMG)
- $(PDFLATEX) $< || $(RM) $@
- @echo
- @if (test -e $(patsubst %.tex, %.idx, $<));\
- then makeindex $(patsubst %.tex, %.idx, $<); fi
- @echo
- @if (grep 'Please (re)run Biber' $(patsubst %.dtx, %.log, $(firstword $<)) > /dev/null);\
- then biber $(patsubst %.tex, %, $(firstword $<));fi
- @if (grep 'Please (re)run BibTeX' $(patsubst %.dtx, %.log, $(firstword $<)) > /dev/null);\
- then bibtex $(patsubst %.tex, %, $(firstword $<));fi
- @echo
- $(PDFLATEX) $< || $(RM) $@
- @echo
- @if (grep Rerun $(patsubst %.tex, %.log, $<) > /dev/null);\
- then $(PDFLATEX) $< || $(RM) $@; fi
- @if (grep Rerun $(patsubst %.tex, %.log, $<) > /dev/null);\
- then $(PDFLATEX) $< || $(RM) $@; fi
-
-$(MODS.pdf): %.pdf: %.tex
- $(PDFLATEX) -jobname=$(basename $<) "\nonstopmode\input{$(MODS.pre)}\begin{document}\input{$<}\end{document}" || $(RM) $@