adium/adium

Parents 5883c460b8cb
Children 09440b7b46e0
Not only delete empty directories, but also the common symlinks to those (Headers and PrivateHeaders), as Sparkle currently breaks on them.
--- 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 \