]> gitweb.michael.orlitzky.com - mjotex.git/commitdiff
Ensure that the bibtex database and mjotex files get copied to dist/. posZ-submitted-laa
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 25 Oct 2016 16:15:26 +0000 (12:15 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 25 Oct 2016 16:15:26 +0000 (12:15 -0400)
makefile

index eabe908839945305a694fe7552ebbb25fb9ed5dc..331c65cd70c266c3cef55ca9a6ed7278b1a94bee 100644 (file)
--- 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/