From 4f5263df520076156b80cb5b28323ac0ff37b9bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 20 Sep 2017 19:37:17 +0200 Subject: Rename 'make tar' tarball to match gitweb snapshot name --- Makefile | 4 ++-- 1 file 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 -- cgit v1.2.1