projects
/
pwl6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f96f0ec
)
Simplify chdir shenanigans when building .bare.zip.
author
Joe Wreschnig
<joe.wreschnig@gmail.com>
Sun, 12 Jul 2015 15:25:41 +0000
(17:25 +0200)
committer
Joe Wreschnig
<joe.wreschnig@gmail.com>
Sun, 12 Jul 2015 15:25:41 +0000
(17:25 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 7a611e99c574a40124547bde46b55686ac6af2a8..6ed49a1d96f70fb46aecef0918d70a32afc2a2b5 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-64,7
+64,7
@@
$(DISTROOT).bare.zip: | .git
$(RM) $@
$(RM) -r $@.tmp
$(MKDIR) $@.tmp
-
cd src && $(GIT) archive $(call git-describe) . | tar -x -C ../
$@.tmp
+
$(GIT) archive $(call git-describe) src | tar -x --strip-components 1 -C
$@.tmp
$(MAKE) $(BUILT:src/%=$@.tmp/%)
$(RM) $(XCFS:src/%=$@.tmp/%)
cd $@.tmp && $(ZIP) ../$(@F) -r .