diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2003-08-31 21:38:07 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2003-08-31 21:38:07 +0000 |
commit | f028e69660ef4bff979a782e1f261ea6d0300f67 (patch) | |
tree | a0354935fca6a71d81081c48e37a9c4b3f6db743 /doc/pddp/Makefile | |
parent | eb4a1670b8d2ac2c823c0c17254e3c38e834f0e2 (diff) |
fixed 'make clean' bug
svn path=/trunk/; revision=918
Diffstat (limited to 'doc/pddp/Makefile')
-rw-r--r-- | doc/pddp/Makefile | 118 |
1 files changed, 59 insertions, 59 deletions
diff --git a/doc/pddp/Makefile b/doc/pddp/Makefile index fddc7dac..3b7af70d 100644 --- a/doc/pddp/Makefile +++ b/doc/pddp/Makefile @@ -1,59 +1,59 @@ -# created by Hans-Christoph Steiner <hans@eds.org> to generate MacOS X packages
-# Hopefully, others will be coming soon.
-
-current: darwin_package
-
-PDDP_VERSION = $(shell date +20%y.%m.%d)
-
-PACKAGE_NAME = pd-pddp-$(PDDP_VERSION)
-
-clean:
- -rm -Rf installroot *~
-
-darwin_pkg_license:
- # generate HTML version of License
-# echo "<HTML><BODY><FONT SIZE="-1">" > License.html
-# cat ../../creb/COPYING | sed -e 's/^$$/\<P\>/g' >> License.html
-# echo "</FONT></BODY></HTML>" >> License.html
-
-darwin_pkg_welcome:
-# generate Welcome.html from ../README.txt
-
-darwin_pkg_clean:
- -sudo rm -Rf installroot/ $(PACKAGE_NAME)*.pkg/
- -rm -f $(PACKAGE_NAME)*.info 1 License.html Welcome.???*
-
-# install into MSP's default: /usr/local/lib
-
-darwin_pkg: darwin_pkg_clean darwin_pkg_license darwin_pkg_welcome
-# set up installroot dir
- test -d installroot/pd/doc/5.reference/ || mkdir -p installroot/pd/doc/5.reference/
- install -m644 --group=staff *.pd installroot/pd/doc/5.reference/
- cp -f pd-pddp.info $(PACKAGE_NAME).info
-# delete cruft
- -find installroot -name .DS_Store -delete
- -rm -f 1
-# set proper permissions
- sudo chown -R root:staff installroot
- package installroot $(PACKAGE_NAME).info -d . -ignoreDSStore
-# install pkg docs
-# install -m 644 License.html Welcome.txt $(PACKAGE_NAME).pkg/Contents/Resources
- sudo chown -R root:staff $(PACKAGE_NAME).pkg/Contents/Resources
-
-# install into MacOS X style path: /Library/Pd
-
-darwin_altpkg: darwin_pkg_clean darwin_pkg_license darwin_pkg_welcome
- test -d installroot/Help || mkdir -p installroot/Help
- install -m644 --group=staff *.pd installroot/Help
- sed -e 's/\/usr\/local\/lib/\/Library\/Pd/' pd-pddp.info \
- | sed -e 's/MSP standard paths/MacOS X-style Paths/' \
- > $(PACKAGE_NAME)-alt.info
- # delete cruft
- -find installroot -name .DS_Store -delete
- -rm -f 1
- # set proper permissions
- sudo chown -R root:staff installroot
- package installroot $(PACKAGE_NAME)-alt.info -d . -ignoreDSStore
- # install pkg docs
-# install -m 644 License.html Welcome.txt $(PACKAGE_NAME)-alt.pkg/Contents/Resources
- sudo chown -R root:staff $(PACKAGE_NAME)-alt.pkg/Contents/Resources
+# created by Hans-Christoph Steiner <hans@eds.org> to generate MacOS X packages +# Hopefully, others will be coming soon. + +current: darwin_package + +PDDP_VERSION = $(shell date +20%y.%m.%d) +PACKAGE_PREFIX = pd-pddp +PACKAGE_NAME = $(PACKAGE_PREFIX)-$(PDDP_VERSION) + +clean: + -rm -Rf installroot *~ + +darwin_pkg_license: + # generate HTML version of License + echo "<HTML><BODY><FONT SIZE="-1">" > License.html + cat LICENSE.txt | sed -e 's/^$$/\<P\>/g' >> License.html + echo "</FONT></BODY></HTML>" >> License.html + +darwin_pkg_welcome: +# generate Welcome.html from ../README.txt + +darwin_pkg_clean: + -sudo rm -Rf installroot/ $(PACKAGE_PREFIX)*.pkg/ + -rm -f $(PACKAGE_PREFIX)-*.info 1 License.html Welcome.???* + +# install into MSP's default: /usr/local/lib + +darwin_pkg: darwin_pkg_clean darwin_pkg_license darwin_pkg_welcome +# set up installroot dir + test -d installroot/pd/doc/5.reference/ || mkdir -p installroot/pd/doc/5.reference/ + install -m644 --group=staff *.pd installroot/pd/doc/5.reference/ + cp -f pd-pddp.info $(PACKAGE_NAME).info +# delete cruft + -find installroot -name .DS_Store -delete + -rm -f 1 +# set proper permissions + sudo chown -R root:staff installroot + package installroot $(PACKAGE_NAME).info -d . -ignoreDSStore +# install pkg docs + install -m 644 License.html $(PACKAGE_NAME).pkg/Contents/Resources + sudo chown -R root:staff $(PACKAGE_NAME).pkg/Contents/Resources + +# install into MacOS X style path: /Library/Pd + +darwin_altpkg: darwin_pkg_clean darwin_pkg_license darwin_pkg_welcome + test -d installroot/Help || mkdir -p installroot/Help + install -m644 --group=staff *.pd installroot/Help + sed -e 's/\/usr\/local\/lib/\/Library\/Pd/' pd-pddp.info \ + | sed -e 's/MSP standard paths/MacOS X-style Paths/' \ + > $(PACKAGE_NAME)-alt.info + # delete cruft + -find installroot -name .DS_Store -delete + -rm -f 1 + # set proper permissions + sudo chown -R root:staff installroot + package installroot $(PACKAGE_NAME)-alt.info -d . -ignoreDSStore + # install pkg docs + install -m 644 License.html $(PACKAGE_NAME)-alt.pkg/Contents/Resources + sudo chown -R root:staff $(PACKAGE_NAME)-alt.pkg/Contents/Resources |