From 6a23525b48d6da45585ce3c6ef48eb578479c7f5 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 8 Dec 2015 12:43:38 +0100 Subject: make: m generalisation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 6 +++--- 1 file 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 $< -- cgit v1.2.3-70-g09d2