aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-08 12:43:38 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-08 12:43:38 +0100
commit6a23525b48d6da45585ce3c6ef48eb578479c7f5 (patch)
tree91943dacab5f4545c5571a6bb2399ebd1ff3a5b9 /Makefile
parentm translation (diff)
downloadscrotty-6a23525b48d6da45585ce3c6ef48eb578479c7f5.tar.gz
scrotty-6a23525b48d6da45585ce3c6ef48eb578479c7f5.tar.bz2
scrotty-6a23525b48d6da45585ce3c6ef48eb578479c7f5.tar.xz
make: m generalisation
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d91c814..621c720 100644
--- a/Makefile
+++ b/Makefile
@@ -382,15 +382,15 @@ $(PKGNAME)-$(VERSION).tar:
@if $(TEST) -f $@; then $(RM) $@; fi
git archive --prefix=$(PKGNAME)-$(VERSION)/ --format=tar $(VERSION) -o $@
-$(PKGNAME)-$(VERSION).tar.xz: $(PKGNAME)-$(VERSION).tar
+%.xz: %
@if $(TEST) -f $@; then $(RM) $@; fi
xz -ke9 $<
-$(PKGNAME)-$(VERSION).tar.bz2: $(PKGNAME)-$(VERSION).tar
+%.bz2: %
@if $(TEST) -f $@; then $(RM) $@; fi
bzip2 -k9 $<
-$(PKGNAME)-$(VERSION).tar.gz: $(PKGNAME)-$(VERSION).tar
+%.gz: %
@if $(TEST) -f $@; then $(RM) $@; fi
gzip -k9 $<