current: darwin_mpkg # # Fetch the versions of the various included packages PD_MAJOR_VERSION = $(shell grep 'Pd version' s_main.c | cut -d '\\' -f 1 | cut -d ' ' -f 6 | cut -d '.' -f 1) PD_MINOR_VERSION = $(shell grep 'Pd version' s_main.c | cut -d '\\' -f 1 | cut -d ' ' -f 6 | cut -d '.' -f 2) PD_BUGFIX_VERSION = $(shell grep 'Pd version' s_main.c | cut -d '\\' -f 1 | cut -d ' ' -f 6 | cut -d '.' -f 3) PD_VERSION = $(PD_MAJOR_VERSION).$(PD_MINOR_VERSION).$(PD_BUGFIX_VERSION) CYCLONE_MAJOR_VERSION = $(shell grep CYCLONE_VERSION ../../externals/miXed/cyclone/build_counter | cut -d ' ' -f 3 | cut -d '"' -f 2) CYCLONE_RELEASE = $(shell grep CYCLONE_RELEASE ../../externals/miXed/cyclone/build_counter | cut -d ' ' -f 3 | cut -d '"' -f 2) 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) MAXLIB_VERSION = $(shell grep "#define VERSION" ../../externals/maxlib/maxlib.c | cut -d '"' -f 2) ZEXY_VERSION = $(shell grep VERSION ../../externals/zexy/src/zexy.h | cut -d ' ' -f 3 | cut -d '"' -f 2) # various files DOUBLECLICKER_VERSION = $(shell date +20%y.%m.%d) DOUBLECLICKER_PREFIX = pd-double-clicker DOUBLECLICKER_NAME = $(DOUBLECLICKER_PREFIX)-$(DOUBLECLICKER_VERSION) PACKAGE_MAJOR_VERSION = 0 PACKAGE_MINOR_VERSION = 2 PACKAGE_BUGFIX_VERSION = 5 PACKAGE_VERSION = $(PACKAGE_MAJOR_VERSION).$(PACKAGE_MINOR_VERSION).$(PACKAGE_BUGFIX_VERSION) PACKAGE_PREFIX = Pure Data PACKAGE_NAME = $(PACKAGE_PREFIX) # needs to have no spaces for SourceForce DMG_PREFIX = PureData DMG_NAME = $(DMG_PREFIX)-$(PD_VERSION)_MacOSX-($(PACKAGE_VERSION)) WELCOME_FILE = Welcome.html README_FILE = ReadMe.html INFO_FILE = $(PACKAGE_PREFIX).info clean: darwin_dmg_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 ../../doc/pddp && make clean -cd ../../externals/sprinkler && make distclean cd ../../nqpoly && make clean darwin_dmg_clean: -sudo rm -Rf installroot -sudo rm -Rf "$(DMG_PREFIX)"* -rm -f "$(README_FILE)" *.dmg *~ darwin_mpkg_clean: -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 ../../doc/ && make darwin_pkg_clean cd ../../doc/pddp && make darwin_pkg_clean cd ../../abstractions && 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 pd cd ../.. && cvs co externals cd ../.. && cvs co doc cd ../.. && cvs co abstractions darwin_mpkg_welcome: echo "
" > $(WELCOME_FILE) echo "
written by Miller S. Puckette
`grep -A9 ACKNOWLEDG ../../pd/README.txt`
" >> $(WELCOME_FILE) echo "" >> $(WELCOME_FILE) echo "" >> $(WELCOME_FILE) darwin_mpkg_license: # generate HTML version of License echo "" > License.html echo "/g' >> License.html echo "
" >> License.html darwin_mpkg_readme: echo $(CYCLONE_RELEASE) -rm $(README_FILE) echo "" > $(README_FILE) echo "" >> $(README_FILE) echo "" >> $(README_FILE) echo "" >> $(README_FILE) echo "" >> $(README_FILE) echo "Pd is a free real-time computer music software package resembling Max. It provides a patchable environment for audio analysis, synthesis, and processing, with a rich set of multimedia capabilities. You can get Pd for Linux, Windows, MacOS X, BSD, or IRIX.
" >> $(README_FILE) echo "For more information, go to: http://www.pure-data.org
" >> $(README_FILE) echo "Installing this package anywhere but the default location will break things. Only do it if you are willing to clean up afterwards.
" >> $(README_FILE) echo "" >> $(README_FILE) echo "Many others not listed have contributed their time and effort, this is just a list of the current developers in the SourceForge project. But really, every Pd user is a developer and is encouraged to contribute to the CVS repository." >> $(README_FILE) echo "
" >> $(README_FILE) echo "The various versions of the included packages:
" >> $(README_FILE) echo "