aboutsummaryrefslogtreecommitdiff
path: root/packages/darwin_app/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-08-02 03:07:31 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-08-02 03:07:31 +0000
commitf57a59537188232fa1597044ea5dcbfd3fe219e6 (patch)
treeabcc7e6e1a04b22ab434360939b055c0a84de519 /packages/darwin_app/Makefile
parent5c50b9c6021ce41f3722c33b6f94490e0f4f9c6e (diff)
cleaned things up to make operation clearer; darwin_app_doc_format was having trouble with too many open files, so switched to find with -exec
svn path=/trunk/; revision=5454
Diffstat (limited to 'packages/darwin_app/Makefile')
-rw-r--r--packages/darwin_app/Makefile21
1 files changed, 8 insertions, 13 deletions
diff --git a/packages/darwin_app/Makefile b/packages/darwin_app/Makefile
index c8bda5d2..7878565f 100644
--- a/packages/darwin_app/Makefile
+++ b/packages/darwin_app/Makefile
@@ -80,7 +80,7 @@ darwin_app_embed_libs
@echo "Pd.app build succeeded!"
extended_install:
- $(MAKE) -C $(packages_src) $(DEST_PATHS) install
+ $(MAKE) -C $(packages_src) $(DEST_PATHS) extended_install
#------------------------------------------------------------------------------#
darwin_app_devel: darwin_app_devel_core rez_install
@@ -169,8 +169,8 @@ darwin_app_embed_libs:
#------------------------------------------------------------------------------#
darwin_app_core: darwin_app_wrapper
- cd $(packages_src) && \
- $(MAKE) $(DEST_PATHS) PD_CONFIGURE_FLAGS=--enable-jack pd_install
+ $(MAKE) -C $(packages_src) $(DEST_PATHS) PD_CONFIGURE_FLAGS=--enable-jack \
+ pd_install
cd "$(PD_APP_CONTENTS)/Resources/Scripts" && \
ln -s ../bin/pd.tk AppMain.tcl
# support for Info Panel Plugins mgmt
@@ -193,12 +193,11 @@ darwin_app_devel_core: darwin_app_devel_wrapper
# set the font to 10pt on all help patches
# the BSD/Darwin version of sed must create a backup file when doing
-# in-place replacement, so delete the unneeded backup files
+# in-place replacement, so delete the unneeded backup files.
darwin_app_doc_format:
- cd $(pddocdir) && \
- sed -i.bak 's/^\(\#N canvas [0-9]* [0-9]* [0-9]* [0-9]*\) 12/\1 10/' \
- */*.pd */*/*.pd */*/*/*.pd
- find $(DESTDIR) -name '*.pd.bak' -delete
+ find $(pddocdir) -name '*.pd' -exec \
+ sed -i.b 's/^\(\#N canvas [0-9]* [0-9]* [0-9]* [0-9]*\) 12/\1 10/' '{}' \;
+ find $(DESTDIR) -name '*.pd.b' -delete
#==============================================================================#
@@ -234,11 +233,7 @@ package: dmg
DMG_NAME = $(PACKAGE_NAME)
dmg: darwin_app_perms
install -d "$(CWD)/$(DMG_NAME)"
- install -p -m0644 $(manualsdir)/Pd/Pd-LICENSE.txt \
- $(manualsdir)/Pd/License.html \
- $(manualsdir)/Pd/Welcome.html \
- $(manualsdir)/Pd/ReadMe.html \
- "$(CWD)/$(DMG_NAME)"
+ install -p -m0644 $(manualsdir)/Pd/ReadMe.html "$(CWD)/$(DMG_NAME)"
cd $(BUILD_BASE) && mv $(PD_APP_NAME).app "$(CWD)/$(DMG_NAME)/"
install -p -m0644 org.puredata.pd.plist "$(CWD)/$(DMG_NAME)"
cd $(CWD) && /bin/sh mkdmg "$(DMG_NAME)"