summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2012-12-04 12:11:36 +0100
committerBertrand Jacquin <beber@meleeweb.net>2012-12-04 12:11:36 +0100
commitea759f45b685dee3fb9cfaaf5db410227240e780 (patch)
tree6a9bbdcef45eba2bcb577e97057a8a112963354b
parent[CLEANUP] Avoid usage of variable new as ekopath don't like that (diff)
downloadmod_virtualvalue-ea759f45b685dee3fb9cfaaf5db410227240e780.tar.gz
[BUILD] Delete creation of dist tbz2 and tgz. Only .txz is supported
-rw-r--r--Makefile13
1 files changed, 3 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index fd5f36a..3cb90eb 100644
--- a/Makefile
+++ b/Makefile
@@ -66,9 +66,6 @@ STRIP_FLAGS = --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.bui
RM = rm -f
TAR = tar
-
-BZIP2 = bzip2
-GZIP = gzip
XZ = xz
ifeq ($(V),)
@@ -110,13 +107,9 @@ $(NAME)-$(VERSION).tar: $(SRC) $(EXTRA_FILES) $(DOC_FILES)
--force-local --numeric-owner \
$^
-%.tbz2: COMP=$(BZIP2)
-%.tgz: COMP=$(GZIP)
-%.txz: COMP=$(XZ)
-
-%.txz: %.tar
- $(call quiet_cmd,$(shell echo $(COMP) | tr a-z A-Z),$@)
- $(Q)$(COMP) -c > $@ < $<
+%.txz: %.tar
+ $(call quiet_cmd,XZ,$@)
+ $(Q)$(XZ) -c > $@ < $<
clean:
$(call quiet_cmd,RM,$(SRC:c=o))