diff options
Diffstat (limited to 'doc/Makefile')
-rw-r--r-- | doc/Makefile | 7 |
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
|