[PD-cvs] pd/src makefile.in,1.1.1.3.2.12,1.1.1.3.2.13
eighthave at users.sourceforge.net
eighthave at users.sourceforge.net
Mon Mar 15 00:54:28 CET 2004
Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23519
Modified Files:
Tag: devel_0_37
makefile.in
Log Message:
moved darwin_pkg stuff to makefile.darwin_pkg
Index: makefile.in
===================================================================
RCS file: /cvsroot/pure-data/pd/src/makefile.in,v
retrieving revision 1.1.1.3.2.12
retrieving revision 1.1.1.3.2.13
diff -C2 -d -r1.1.1.3.2.12 -r1.1.1.3.2.13
*** makefile.in 14 Jan 2004 15:42:49 -0000 1.1.1.3.2.12
--- makefile.in 14 Mar 2004 23:54:25 -0000 1.1.1.3.2.13
***************
*** 186,236 ****
include makefile.dependencies
-
-
- #
- # added by Hans-Christoph Steiner <hans at eds.org>
- # to generate MacOS X packages
- #
-
- PD_MAJOR_VERSION = $(shell grep PD_MAJOR_VERSION m_pd.h | cut -d ' ' -f 3)
- PD_MINOR_VERSION = $(shell grep PD_MINOR_VERSION m_pd.h | cut -d ' ' -f 3)
- PD_VERSION = $(PD_MAJOR_VERSION).$(PD_MINOR_VERSION)
-
- PACKAGE_NAME = pd-$(PD_VERSION)
-
- DMG_NAME = $(PACKAGE_NAME)
-
- darwin_pkg_clean:
- -sudo rm -Rf ../installroot ../$(PACKAGE_NAME)*
- -rm -f ../$(PACKAGE_NAME)*.info *~ ../1 License.html
-
-
- 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: DESTDIR = ../installroot
- darwin_pkg: INSTALL_PREFIX = /usr/local
- darwin_pkg: MANDIR = /usr/local
- darwin_pkg: GFLAGS = -DINSTALL_PREFIX=\"$(INSTALL_PREFIX)\"
- darwin_pkg: install darwin_pkg_license
- cd .. && cp -f pd.info $(PACKAGE_NAME).info
- # delete cruft
- -find ../installroot -name .DS_Store -delete
- -rm -f 1
- # set proper permissions
- sudo chown -R root:staff ../installroot/$(INSTALL_PREFIX)
- cd .. && sudo package installroot $(PACKAGE_NAME).info -d . -ignoreDSStore
- # install pkg docs
- sudo install -m 644 License.html ../$(PACKAGE_NAME).pkg/Contents/Resources
- sudo chown -R root:staff ../$(PACKAGE_NAME).pkg/Contents/Resources
-
-
- dmg:
- cd .. && mkdir "$(DMG_NAME)"
- cd .. && mv $(PACKAGE_NAME).pkg "$(DMG_NAME)"
- cd .. && cp README.txt LICENSE.txt "$(DMG_NAME)"
- cd .. && /bin/sh mkdmg "$(DMG_NAME)"
--- 186,187 ----
More information about the Pd-cvs
mailing list