From 8b6c03670d0cb8ac77caba1dc09b6e9516fde543 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 16 Nov 2010 16:43:49 -0500 Subject: [PATCH] Pull USEFUL_PACKAGES from the tex system (via kpsewhich) not current directory. --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 $@) $@ -- 2.26.2