aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlav Vitters <olav@vitters.nl>2020-08-06 10:17:01 +0200
committerOlav Vitters <olav@vitters.nl>2020-08-06 10:17:01 +0200
commit46041c6750ba4afd295a1c100da115a94c1f31e1 (patch)
tree1b06efc931faafb0333083dfbbb9d9482f28aeb0
parent045cca7caf9b68b3ad15299c06e6a6e040ac9d83 (diff)
downloadinitscripts-46041c6750ba4afd295a1c100da115a94c1f31e1.tar
initscripts-46041c6750ba4afd295a1c100da115a94c1f31e1.tar.gz
initscripts-46041c6750ba4afd295a1c100da115a94c1f31e1.tar.bz2
initscripts-46041c6750ba4afd295a1c100da115a94c1f31e1.tar.xz
initscripts-46041c6750ba4afd295a1c100da115a94c1f31e1.zip
Makefile: mageiadist target to create tarball without any prefix, handier for autosetup -a macro
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c3adc353..61ce8370 100644
--- a/Makefile
+++ b/Makefile
@@ -152,7 +152,7 @@ archive: clean
mageiadist: clean
# Make a tarball for all the bits which are unlikely to change
- @git archive --format=tar --prefix=initscripts-$(VERSION)/ $(git rev-parse HEAD) ':po-mageia' ':man-mageia' > initscripts-$(VERSION)-mageia.tar
+ @git archive --format=tar $$(git rev-parse HEAD) ':po-mageia' ':man-mageia' > initscripts-$(VERSION)-mageia.tar
@mkdir -p initscripts-$(VERSION)/
@tar --append -f initscripts-$(VERSION)-mageia.tar initscripts-$(VERSION)
@xz -f -5 initscripts-$(VERSION)-mageia.tar