From: W. Trevor King Date: Tue, 16 Nov 2010 21:43:49 +0000 (-0500) Subject: Pull USEFUL_PACKAGES from the tex system (via kpsewhich) not current directory. X-Git-Tag: 0.15~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8b6c03670d0cb8ac77caba1dc09b6e9516fde543;p=drexel-thesis.git Pull USEFUL_PACKAGES from the tex system (via kpsewhich) not current directory. --- diff --git a/Makefile b/Makefile index af44ad4..7ba3e45 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,7 @@ semi-clean : temp-clean clean : semi-clean rm -f drexel-thesis.pdf example.pdf example-draft.pdf \ - drexel-thesis.cls drexel-thesis.tar.gz + drexel-thesis.cls drexel-thesis.tar.gz $(USEFUL_PACKAGES) dist : drexel-thesis.tar.gz @@ -58,6 +58,9 @@ drexel-thesis.tar.gz : $(CLASS_FILES) $(EXAMPLE_FILES) $(EXTRA_FILES) \ cp -p $(EXAMPLE_FILES) drexel-thesis/examples/ cp -rp $(EXTRA_FILES) drexel-thesis/ mkdir drexel-thesis/packages - cp -p $(USEFUL_PACKAGES) drexel-thesis/packages/ + cp $(USEFUL_PACKAGES) drexel-thesis/packages/ tar -chozf $@ drexel-thesis rm -rf drexel-thesis + +$(USEFUL_PACKAGES) : % : + cp $(shell kpsewhich $@) $@