Skip to content

Commit

Permalink
Use git-archive-all to package source tarball
Browse files Browse the repository at this point in the history
This works with submodules, unlike plain 'git archive'.
  • Loading branch information
vslavik committed Mar 13, 2016
1 parent 65948d4 commit 187c0a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distrib.makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ $(binary_arch): $(binary_files)

$(sources_arch):
@rm -rf $(sources_base) $@
git archive --prefix=$(sources_base)/ -o $(sources_base).tar HEAD
git-archive-all --prefix=$(sources_base)/ $(sources_base).tar
tar xf $(sources_base).tar
7z a -m0=lzma -mx=9 $@ $(sources_base)
@rm -rf $(sources_base) $(sources_base).tar
Expand Down

0 comments on commit 187c0a2

Please sign in to comment.