summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-11-24 01:11:04 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-11-24 01:41:13 -0400
commit3a1ba10f775df8bf742a10cf8c8a8672b63f78b8 (patch)
treea0501c3482e71774e811faa3458fda03b799ec29
parentb09c5a6a53c424f0c68187592e949cb47b0e02c5 (diff)
use manifest file instead of blindly removing the whole git-annex.linux directory
FIXME: dirContentsRecursive does not find empty directories
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
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