diff options
author | Joey Hess <joey@kitenet.net> | 2012-12-13 12:27:32 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-12-13 12:27:32 -0400 |
commit | 38ae733f4f525bb5cfaddc04c9b250551dca93e5 (patch) | |
tree | c27967acd0df0115edb08dfe7c0643e6178f687d /Makefile | |
parent | 2581ac61e032eb75b9a332ffea6fff16bf1833aa (diff) |
furnish git with an (empty) template directory in standalone builds
This will stop git-init complaining about missing template directory.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -173,6 +173,7 @@ linuxstandalone: install -d "$(LINUXSTANDALONE_DEST)/git-core" (cd "$(shell git --exec-path)" && tar c .) | (cd "$(LINUXSTANDALONE_DEST)"/git-core && tar x) + install -d "$(LINUXSTANDALONE_DEST)/templates" touch "$(LINUXSTANDALONE_DEST)/libdirs.tmp" for lib in $$(ldd "$(LINUXSTANDALONE_DEST)"/bin/* $$(find "$(LINUXSTANDALONE_DEST)"/git-core/ -type f) | grep -v -f standalone/linux/glibc-libs | grep -v "not a dynamic executable" | egrep '^ ' | sed 's/^\t//' | sed 's/.*=> //' | cut -d ' ' -f 1 | sort | uniq); do \ @@ -217,6 +218,7 @@ osxapp: done (cd "$(shell git --exec-path)" && tar c .) | (cd "$(OSXAPP_BASE)" && tar x) + install -d "$(LINUXSTANDALONE_DEST)/templates" runghc Build/OSXMkLibs.hs $(OSXAPP_BASE) rm -f tmp/git-annex.dmg |