From 3a1ba10f775df8bf742a10cf8c8a8672b63f78b8 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 24 Nov 2013 01:11:04 -0400 Subject: use manifest file instead of blindly removing the whole git-annex.linux directory FIXME: dirContentsRecursive does not find empty directories --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index ee47e03ba..2a8db2d2d 100644 --- a/Makefile +++ b/Makefile @@ -134,6 +134,7 @@ linuxstandalone: Build/Standalone rm -f "$(LINUXSTANDALONE_DEST)/libdirs.tmp" cd tmp/git-annex.linux && find . -type f > git-annex.MANIFEST + cd tmp/git-annex.linux && find . -type l >> git-annex.MANIFEST cd tmp && tar czf git-annex-standalone-$(shell dpkg --print-architecture).tar.gz git-annex.linux OSXAPP_DEST=tmp/build-dmg/git-annex.app @@ -159,6 +160,7 @@ osxapp: Build/Standalone Build/OSXMkLibs ./Build/OSXMkLibs $(OSXAPP_BASE) cd $(OSXAPP_DEST) && find . -type f > Contents/MacOS/bundle/git-annex.MANIFEST + cd $(OSXAPP_DEST) && find . -type l >> Contents/MacOS/bundle/git-annex.MANIFEST rm -f tmp/git-annex.dmg hdiutil create -format UDBZ -srcfolder tmp/build-dmg \ -volname git-annex -o tmp/git-annex.dmg -- cgit v1.2.3