Tar excludes doc directory

This commit is contained in:
Imbus 2024-05-11 15:27:46 +02:00
parent be8ba5c291
commit 2657eb9091

View file

@ -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)