From 46041c6750ba4afd295a1c100da115a94c1f31e1 Mon Sep 17 00:00:00 2001 From: Olav Vitters Date: Thu, 6 Aug 2020 10:17:01 +0200 Subject: Makefile: mageiadist target to create tarball without any prefix, handier for autosetup -a macro --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.1