summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-09-09 10:35:51 +0300
committerAndras Timar <andras.timar@collabora.com>2016-03-08 10:09:29 +0100
commit8adb16acb1aeccfacc39c2edb10d4f90374e8ff2 (patch)
tree1a470f3f385288c4011253cee276b755593bc7c0 /Makefile.in
parente85145049d7f47e17fdc3eb7d502d1e4279d8db8 (diff)
Remove potential old leftover before moving the app bundle
Change-Id: I7f0a8ae184a2f3d8a4476415b56df4ad8e4e342f
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 2f7e4ccf2492..5844dcc552e2 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -337,6 +337,7 @@ endif
mac-app-store-package: test-install
ifneq ($(MACOSX_PACKAGE_SIGNING_IDENTITY),)
+ rm -rf "$(MACOSX_APP_NAME).app"
mv "$(TESTINSTALLDIR)/$(PRODUCTNAME).app" "$(MACOSX_APP_NAME).app"
productbuild --component "$(MACOSX_APP_NAME).app" /Applications --sign $(MACOSX_PACKAGE_SIGNING_IDENTITY) $(shell echo "$(MACOSX_APP_NAME)" | tr ' ' '-').pkg
else