aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-09-20 19:37:17 +0200
committerRémi Verschelde <rverschelde@gmail.com>2017-09-20 19:37:17 +0200
commit4f5263df520076156b80cb5b28323ac0ff37b9bc (patch)
treeb8feaae58cde735ab51388476498d4112833a6d1
parent48a1d4797b114b745b947eeefee5c210b22e0b06 (diff)
downloadmgaadvisories-4f5263df520076156b80cb5b28323ac0ff37b9bc.tar
mgaadvisories-4f5263df520076156b80cb5b28323ac0ff37b9bc.tar.gz
mgaadvisories-4f5263df520076156b80cb5b28323ac0ff37b9bc.tar.bz2
mgaadvisories-4f5263df520076156b80cb5b28323ac0ff37b9bc.tar.xz
mgaadvisories-4f5263df520076156b80cb5b28323ac0ff37b9bc.zip
Rename 'make tar' tarball to match gitweb snapshot name
-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