summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/disser/include/latex.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/disser/include/latex.mk')
-rw-r--r--Master/texmf-dist/doc/latex/disser/include/latex.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/latex/disser/include/latex.mk b/Master/texmf-dist/doc/latex/disser/include/latex.mk
index ffae7b209d2..de058733d32 100644
--- a/Master/texmf-dist/doc/latex/disser/include/latex.mk
+++ b/Master/texmf-dist/doc/latex/disser/include/latex.mk
@@ -4,6 +4,7 @@
#
TARGET?=thesis
+BIBFILE?=thesis.bib
ARCH?=7z
BIBTEX?=bibtex8
@@ -58,9 +59,8 @@ rtf: $(TARGET).rtf
$(TARGET).dvi: $(TARGET).tex
$(LATEX) $(TEXFLAGS) $^
- @if [ -f $(TARGET).bib ];\
- then \
- $(BIBTEX) $(BIBTEXFLAGS) $(TARGET) ;\
+ @if [ -f $(BIBFILE) ]; then \
+ for f in *.aux; do $(BIBTEX) $(BIBTEXFLAGS) $$f; done ;\
$(LATEX) $(TEXFLAGS) $^ ;\
else \
echo Warning: Bibliography file does not exist ;\
@@ -79,9 +79,9 @@ $(TARGET)_book.ps: $(TARGET).ps
$(TARGET).pdf: $(TARGET).tex
$(PDFLATEX) $(PDFLATEXFLAGS) $^
- @if [ -f $(TARGET).bib ];\
+ @if [ -f $(BIBFILE) ];\
then \
- $(BIBTEX) $(BIBTEXFLAGS) $(TARGET) ;\
+ for f in *.aux; do $(BIBTEX) $(BIBTEXFLAGS) $$f ; done ;\
$(PDFLATEX) $(PDFLATEXFLAGS) $^ ;\
else \
echo Warning: Bibliography file does not exist ;\