summaryrefslogtreecommitdiff
path: root/cocoa/Makefile.target
diff options
context:
space:
mode:
authorFran├žois Revel <mmu_man@netsurf-browser.org>2011-05-09 18:39:42 +0000
committerFran├žois Revel <mmu_man@netsurf-browser.org>2011-05-09 18:39:42 +0000
commit1c753c0707a20edfb2adeb930b7bc453a7043a1a (patch)
treed20b54256a2a44045284242fbf7f9e0a6164722e /cocoa/Makefile.target
parent3e62014f2f951e61325c559f619b63819d108691 (diff)
downloadnetsurf-1c753c0707a20edfb2adeb930b7bc453a7043a1a.tar.gz
netsurf-1c753c0707a20edfb2adeb930b7bc453a7043a1a.tar.bz2
OSX: Always empty the Resources folder in the .app bundle when populating it, to avoid errors when copying .svn stuff over a 2nd time. Ideally those shouldn't be copied over anyway, but I didn't yet find an easy way to use tar the way I need.
svn path=/trunk/netsurf/; revision=12353
Diffstat (limited to 'cocoa/Makefile.target')
-rw-r--r--cocoa/Makefile.target1
1 files changed, 1 insertions, 0 deletions
diff --git a/cocoa/Makefile.target b/cocoa/Makefile.target
index 08fc4f1e9..fd88e1dce 100644
--- a/cocoa/Makefile.target
+++ b/cocoa/Makefile.target
@@ -182,6 +182,7 @@ NetSurf.app: NetSurf cocoa/Makefile.target $(R_RESOURCES) NetSurf.app/Contents/I
$(VQ)echo Assembling NetSurf.app bundle
$(Q)mkdir -p NetSurf.app/Contents/MacOS
$(Q)cp NetSurf NetSurf.app/Contents/MacOS
+ $(Q)rm -rf NetSurf.app/Contents/Resources
$(Q)mkdir -p NetSurf.app/Contents/Resources
$(Q)cp -pLR $(R_RESOURCES) NetSurf.app/Contents/Resources
$(Q)echo 'APPL????' > NetSurf.app/Contents/PkgInfo