X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=makefile;h=a0b130edc7c686774b989b9eb5695d778d3332c2;hb=2b1f0e0db1196390852c1cec5917a0ce7f4d24df;hp=d9bd9d5f3a19f7ad0cc427d2ce7adaa0b0c86f61;hpb=5c4f67545f0988d065f1d52f90eed9233562c9fc;p=mjotex.git diff --git a/makefile b/makefile index d9bd9d5..a0b130e 100644 --- a/makefile +++ b/makefile @@ -25,7 +25,13 @@ MJOTEX += mjo-theorem-star.tex mjo-topology.tex # Use kpsewhich (from the kpathsea suite) to find the absolute paths # of the bibtex/mjotex files listed in in $(BIBS)/$(MJOTEX). The SRCS # variable should contain all (Bib)TeX source files for the document. -SRCS = $(PN).tex $(shell kpsewhich $(BIBS)) $(shell kpsewhich $(MJOTEX)) +SRCS = $(PN).tex +ifdef BIBS +SRCS += $(shell kpsewhich $(BIBS)) +endif +ifdef MJOTEX +SRCS += $(shell kpsewhich $(MJOTEX)) +endif # The first target is the default, so put the PDF document first.