From 325558aa046aeaed55ebd179b564170e2aec1062 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 15 Jan 2004 02:06:51 +0000 Subject: created MacOS X pkg svn path=/trunk/; revision=1261 --- abstractions/Makefile | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 abstractions/Makefile (limited to 'abstractions/Makefile') diff --git a/abstractions/Makefile b/abstractions/Makefile new file mode 100644 index 00000000..33db1384 --- /dev/null +++ b/abstractions/Makefile @@ -0,0 +1,31 @@ +# Created by Hans-Christoph Steiner to generate MacOS X packages +# This Makefile does not generate a PDDP pkg, PDDP has its own Makefile + +current: darwin_pkg + +ABSTRACTIONS_VERSION = $(shell date +20%y.%m.%d) +PKG_PREFIX = pd-abstractions +PKG_NAME = $(PKG_PREFIX)-$(ABSTRACTIONS_VERSION) + +darwin_pkg_clean: + -sudo rm -Rf installroot/ $(PKG_PREFIX)*.pkg/ + -rm -f $(PKG_NAME).info 1 + +# install into MSP's default: /usr/local/lib + +darwin_pkg: +# set up installroot dir + -chmod a-x */*.pd */*/*.pd */*/*/*.pd + test -d installroot/abstractions || mkdir -p installroot/abstractions + cp -Rf footils timestretch vadsr~ installroot/abstractions/ + cp -f pd-abstractions.info $(PKG_NAME).info +# delete cruft + -find installroot -name .DS_Store -delete + -sudo rm -Rf installroot/*/*/CVS installroot/*/*/*/CVS installroot/*/*/*/*/CVS +# set proper permissions + sudo chown -R root:staff installroot/* + package installroot $(PKG_NAME).info -d . -ignoreDSStore +# install pkg docs + install -m 644 Welcome.html $(PKG_NAME).pkg/Contents/Resources + sudo chown -R root:staff $(PKG_NAME).pkg/Contents/Resources + -- cgit v1.2.1