Not only delete empty directories, but also the common symlinks to those (Headers and PrivateHeaders), as Sparkle currently breaks on them. adium-1.5.10.4
authorThijs Alkemade <me@thijsalkema.de>
Sun, 23 Apr 2017 21:35:20 +0200
branchadium-1.5.10.4
changeset 5986 511f2f168ad2
parent 5985 5883c460b8cb
child 5987 09440b7b46e0
Not only delete empty directories, but also the common symlinks to those (Headers and PrivateHeaders), as Sparkle currently breaks on them.
Release/Makefile
--- a/Release/Makefile	Sun Apr 23 21:05:16 2017 +0200
+++ b/Release/Makefile	Sun Apr 23 21:35:20 2017 +0200
@@ -165,6 +165,10 @@
 	@# delete empty folders (which would interfere with framework signing)
 	find $(BUILD_DIR) -type d -empty -delete
 
+	@# Also delete the symlinks to these directories, otherwise we break Sparle
+	find $(BUILD_DIR) \( -name "Headers" \) -type l -delete
+	find $(BUILD_DIR) \( -name "PrivateHeaders" \) -type l -delete
+
 	@# sign the executable
 ifeq ($(OFFICIAL_BUILD),TRUE)
 	if [ -e ~/adium-password ]; then \