Skip to content
Snippets Groups Projects
Commit 27b1c156 authored by Markus Blatt's avatar Markus Blatt
Browse files

honor src_dir when building in different directory.

[[Imported from SVN: r4583]]
parent 680185a2
No related branches found
No related tags found
No related merge requests found
......@@ -2,18 +2,18 @@
# rerun TEX if log-file suggests that
.tex.dvi:
$(TEX) </dev/null $*
$(TEX) </dev/null $<
while grep Rerun $*.log > /dev/null ; do \
$(TEX) </dev/null $* || exit $$?; \
$(TEX) </dev/null $< || exit $$?; \
done
# check if Bibtex needs to be called
if grep '^\\bibdata{' *.aux > /dev/null \
&& grep '^\\citation{' *.aux > /dev/null; \
then \
$(BIBTEX) $* || exit $$?; \
$(TEX) </dev/null $* || exit $$?; \
$(BIBTEX) $< || exit $$?; \
$(TEX) </dev/null $< || exit $$?; \
while grep Rerun $*.log > /dev/null ; do \
$(TEX) </dev/null $* || exit $$?; \
$(TEX) </dev/null $< || exit $$?; \
done ; \
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment