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 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=389f5fb75625e8f75cb44ea74bbbaf3fade43390;p=mjotex.git 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/