aboutsummaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2003-08-31 21:38:07 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2003-08-31 21:38:07 +0000
commitf028e69660ef4bff979a782e1f261ea6d0300f67 (patch)
treea0354935fca6a71d81081c48e37a9c4b3f6db743 /doc/Makefile
parenteb4a1670b8d2ac2c823c0c17254e3c38e834f0e2 (diff)
fixed 'make clean' bug
svn path=/trunk/; revision=918
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/Makefile b/doc/Makefile
index c2efc2b8..4fa15da5 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -4,7 +4,8 @@
current: darwin_pkg
PDDOC_VERSION = $(shell date +20%y.%m.%d)
-PACKAGE_NAME = pd-doc-$(PDDOC_VERSION)
+PACKAGE_PREFIX = pd-doc
+PACKAGE_NAME = $(PACKAGE_PREFIX)-$(PDDOC_VERSION)
darwin_pkg_license:
# generate HTML version of License
@@ -16,8 +17,8 @@ darwin_pkg_welcome:
# generate Welcome.html from ../README.txt
darwin_pkg_clean:
- -sudo rm -Rf installroot/ pd-doc*.pkg/
- -rm -f pd-doc-*.info 1 License.html Welcome.???*
+ -sudo rm -Rf installroot/ $(PACKAGE_PREFIX)*.pkg/
+ -rm -f $(PACKAGE_PREFIX)-*.info 1 License.html Welcome.???*
# install into MSP's default: /usr/local/lib