From 6e017b796214315c5df54cf94b2504e0cff2a711 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Tue, 25 Oct 2016 12:15:26 -0400 Subject: [PATCH] Ensure that the bibtex database and mjotex files get copied to dist/. --- makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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/ -- 2.43.2