commit: bec2aa7cdde64d59cf4fdb5de661188da7cc6e59
Author: Samuli Suominen <ssuominen <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 13 14:36:19 2014 +0000
Commit: Samuli Suominen <ssuominen <AT> gentoo <DOT> org>
CommitDate: Thu Mar 13 14:36:19 2014 +0000
URL:
http://git.overlays.gentoo.org/gitweb/?p=proj/pambase.git;a=commit;h=bec2aa7c
Use xz instead of bzip2 for dist.
---
Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index ec5d240..574d0d1 100644
--- a/Makefile
+++ b/Makefile
@@ -75,11 +75,11 @@ ifeq "$(VERSION)" ""
VERSION = $(shell date +"%Y%m%d")
endif
-dist: $(PACKAGE)-$(VERSION).tar.bz2
+dist: $(PACKAGE)-$(VERSION).tar.xz
-$(PACKAGE)-$(VERSION).tar.bz2: $(shell $(GIT) ls-files)
+$(PACKAGE)-$(VERSION).tar.xz: $(shell $(GIT) ls-files)
$(GIT) tag $(PACKAGE)-$(VERSION)
- $(GIT) archive --format=tar --prefix=$(PACKAGE)-$(VERSION)/ HEAD |
bzip2 > $@
+ $(GIT) archive --format=tar --prefix=$(PACKAGE)-$(VERSION)/ HEAD | xz >
$@
$(PAMD): %: %.in
$(CPP) -traditional-cpp -P $(PAMFLAGS) $< -o $@