X-Git-Url: https://git.yukkurigames.com/?p=pwl6.git;a=blobdiff_plain;f=Makefile;h=6ed49a1d96f70fb46aecef0918d70a32afc2a2b5;hp=7a611e99c574a40124547bde46b55686ac6af2a8;hb=fa194684cec12c5e2099e55897c6fb976b6adc80;hpb=a29f8425e47afa0bc95b73c00aecb25c4881f087 diff --git a/Makefile b/Makefile index 7a611e9..6ed49a1 100644 --- 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 .