aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 88939b1..840259a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
VERSION=0.24
PROJECTNAME=mga-advisories
+TARNAME=mgaadvisories
BINFILES=mgaadv
CFGFILES=mga-advisories.conf
TMPLFILES=tmpl/*.html tmpl/*.txt tmpl/*.adv tmpl/*.rss
@@ -29,5 +30,4 @@ install:
install -m 644 lib/MGA/Advisories.pm $(DESTDIR)$(perldir)/MGA
tar:
- git archive --format=tar --prefix $(PROJECTNAME)-$(VERSION)/ HEAD | \
- xz > $(PROJECTNAME)-$(VERSION).tar.xz
+ git archive HEAD --prefix=$(TARNAME)-$(VERSION)/ -o $(TARNAME)-$(VERSION).tar.xz