From fd48d7950a30adce6c79cdf6810411312b3ff4f2 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 23 Oct 2003 03:20:19 +0000 Subject: added double-clickers, cyclone, flext, nqpoly, noncvs, unauthorized svn path=/trunk/; revision=1123 --- packages/darwin_pkg/Makefile | 88 +++++++++++++++++++++++++++++++++----------- 1 file changed, 67 insertions(+), 21 deletions(-) (limited to 'packages/darwin_pkg/Makefile') diff --git a/packages/darwin_pkg/Makefile b/packages/darwin_pkg/Makefile index fb409584..19ee6aa1 100644 --- a/packages/darwin_pkg/Makefile +++ b/packages/darwin_pkg/Makefile @@ -13,16 +13,24 @@ CYCLONE_RELEASE = $(shell grep CYCLONE_RELEASE ../externals/miXed/cyclone/build_ CYCLONE_BUILD = $(shell grep CYCLONE_BUILD ../externals/miXed/cyclone/build_counter | cut -d ' ' -f 3 | cut -d '"' -f 2) CYCLONE_VERSION = $(CYCLONE_MAJOR_VERSION) $(CYCLONE_RELEASE) $(CYCLONE_BUILD) +FLEXT_VERSION = $(shell grep PROJECT_NUMBER ../externals/grill/flext/flext.doxy | cut -d '"' -f2 | cut -d ' ' -f2) + ZEXY_VERSION = $(shell grep VERSION ../externals/zexy/src/zexy.h | cut -d ' ' -f 3 | cut -d '"' -f 2) # various files + +DOUBLECLICKERS_VERSION = $(shell date +20%y.%m.%d) +DOUBLECLICKERS_PREFIX = pd-double-clickers +DOUBLECLICKERS_NAME = $(DOUBLECLICKERS_PREFIX)-$(DOUBLECLICKERS_VERSION) + PACKAGE_VERSION = $(shell date +20%y.%m.%d) PACKAGE_PREFIX = Pure Data PACKAGE_NAME = $(PACKAGE_PREFIX) -DMG_PREFIX = Pure Data Installer -DMG_NAME = $(DMG_PREFIX) $(PD_VERSION)-$(PACKAGE_VERSION) +# needs to have no spaces for SourceForce +DMG_PREFIX = PureDataInstaller +DMG_NAME = $(DMG_PREFIX)_$(PD_VERSION)-$(PACKAGE_VERSION) WELCOME_FILE = Welcome.html README_FILE = ReadMe.html @@ -30,26 +38,40 @@ INFO_FILE = $(PACKAGE_PREFIX).info clean: darwin_mpkg_clean -cd ../pd/src && make clean + cd ../externals/miXed/cyclone && make clean cd ../externals/build/darwin && make clean + cd ../externals/grill/build/darwin && make clean + cd ../externals/unauthorized && make clean cd ../externals/zexy/src && make -f makefile.darwin clean - cd ../externals/miXed/cyclone && make clean cd ../doc/pddp && make clean - cd ../externals/unauthorized && make clean -cd ../externals/sprinkler && make distclean + cd ../nqpoly && make clean darwin_mpkg_clean: -sudo rm -Rf installroot -sudo rm -Rf "$(DMG_PREFIX)"* -rm -f "$(README_FILE)" *.dmg *~ -cd ../pd/src && make darwin_pkg_clean + cd ../externals/miXed/cyclone && make darwin_pkg_clean cd ../externals/build/darwin && make darwin_pkg_clean + cd ../externals/grill/build/darwin && make darwin_pkg_clean + cd ../externals/unauthorized && make darwin_pkg_clean cd ../externals/zexy/src && make -f makefile.darwin darwin_pkg_clean - cd ../externals/miXed/cyclone && make darwin_pkg_clean cd ../doc/ && make darwin_pkg_clean cd ../doc/pddp && make darwin_pkg_clean - cd ../externals/unauthorized && make darwin_pkg_clean cd ../abstractions && make darwin_pkg_clean - cd noncvs && make darwin_pkg_clean +# don't fail on these since they aren't in CVS + -cd noncvs && make darwin_pkg_clean + -cd ../nqpoly && make darwin_pkg_clean + +# this gets the files you need and puts them in the +# right places for this Makefile to find them. You +# might want to use a different version of Pd. +checkout: + cd .. && cvs co pd + cd .. && cvs co externals + cd .. && cvs co doc + cd .. && cvs co abstractions darwin_mpkg_welcome: echo "

" > $(WELCOME_FILE) @@ -61,6 +83,14 @@ darwin_mpkg_welcome: echo "" >> $(WELCOME_FILE) echo "" >> $(WELCOME_FILE) +darwin_mpkg_license: + # generate HTML version of License + echo "" > License.html + echo "

(Parts of this package can be used under the Pd/BSD license.)
" >> License.html + echo "" >> License.html + cat ../externals/creb/COPYING | sed -e 's/^$$/\/g' >> License.html + echo "" >> License.html + darwin_mpkg_readme: echo $(CYCLONE_RELEASE) -rm $(README_FILE) @@ -73,6 +103,7 @@ darwin_mpkg_readme: echo "