Delete empty folders prior to code signing adium-1.5.10.3
authorEvan D. Schoenberg, M.D. <evan@regularrateandrhythm.com>
Thu, 23 Mar 2017 16:07:11 -0400
branchadium-1.5.10.3
changeset 5974 fa26ff639b88
parent 5973 495038a4da5d
child 5975 af3dbe7e7d32
Delete empty folders prior to code signing
Release/Makefile
--- a/Release/Makefile	Thu Mar 23 15:25:33 2017 -0400
+++ b/Release/Makefile	Thu Mar 23 16:07:11 2017 -0400
@@ -162,6 +162,9 @@
 	@# delete header files
 	find $(BUILD_DIR) \( -name "*.h" \) -type f -delete
 
+	@# delete empty folders (which would interfere with framework signing)
+	find $(BUILD_DIR) -type d -empty -delete
+
 	@# sign the executable
 ifeq ($(OFFICIAL_BUILD),TRUE)
 	if [ -e ~/adium-password ]; then \