From: Michael Orlitzky Date: Tue, 25 Oct 2016 16:15:26 +0000 (-0400) Subject: Ensure that the bibtex database and mjotex files get copied to dist/. X-Git-Tag: posZ-submitted-laa^0 X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mjotex.git;a=commitdiff_plain;h=6e017b796214315c5df54cf94b2504e0cff2a711;hp=59e4fa4c0281befce512b366f66e0e92c1740e29 Ensure that the bibtex database and mjotex files get copied to dist/. --- diff --git a/makefile b/makefile index eabe908..331c65c 100644 --- a/makefile +++ b/makefile @@ -27,10 +27,12 @@ MJOTEX += mjo-theorem-star.tex mjo-topology.tex # variable should contain all (Bib)TeX source files for the document. SRCS = $(PN).tex ifdef BIBS -SRCS += $(shell kpsewhich $(BIBS)) +BIBPATHS = $(shell kpsewhich $(BIBS)) +SRCS += $(BIBPATHS) endif ifdef MJOTEX -SRCS += $(shell kpsewhich $(MJOTEX)) +MJOTEXPATHS = $(shell kpsewhich $(MJOTEX)) +SRCS += $(MJOTEXPATHS) endif @@ -136,4 +138,4 @@ clean: .PHONY: dist dist: $(PN).bbl mkdir -p dist - cp $(SRCS) $(PN).bbl dist/ + cp $(SRCS) $(PN).bbl $(BIBPATHS) $(MJOTEXPATHS) dist/