Tar excludes doc directory
This commit is contained in:
parent
be8ba5c291
commit
2657eb9091
1 changed files with 4 additions and 1 deletions
5
makefile
5
makefile
|
@ -21,7 +21,10 @@ test:
|
|||
./gradlew test
|
||||
|
||||
$(TARNAME):
|
||||
git ls-files -z | xargs -0 tar -czf $(TARNAME)
|
||||
git archive --format=tar --prefix=$(DIRNAME)/ HEAD > intermediate.tar
|
||||
tar -f intermediate.tar --delete $(DIRNAME)/doc
|
||||
gzip -9 -c intermediate.tar > $(TARNAME)
|
||||
rm intermediate.tar
|
||||
|
||||
$(TARNAME).minisig: $(TARNAME)
|
||||
minisign -Sm $(TARNAME)
|
||||
|
|
Loading…
Reference in a new issue