From 28583283088a3b66f7b965b68738097cb47dc8b5 Mon Sep 17 00:00:00 2001 From: Nick White Date: Tue, 28 Jul 2015 16:51:19 +0100 Subject: Switch to xz compression of releases --- Makefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 39d6b72..b697fd2 100644 --- a/Makefile +++ b/Makefile @@ -56,10 +56,10 @@ dist: cp icons/* $(NAME)-$(VERSION)/icons/ mkdir -p $(NAME)-$(VERSION)/extras cp $(EXTRAS) $(NAME)-$(VERSION)/extras/ - tar c $(NAME)-$(VERSION) | bzip2 -c > $(NAME)-$(VERSION).tar.bz2 - gpg -b < $(NAME)-$(VERSION).tar.bz2 > $(NAME)-$(VERSION).tar.bz2.sig + tar c $(NAME)-$(VERSION) | xz > $(NAME)-$(VERSION).tar.xz + gpg -b < $(NAME)-$(VERSION).tar.xz > $(NAME)-$(VERSION).tar.xz.sig rm -rf $(NAME)-$(VERSION) - echo $(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION).tar.bz2.sig + echo $(NAME)-$(VERSION).tar.xz $(NAME)-$(VERSION).tar.xz.sig # needs config.mk set up to build statically dist-static: $(BIN) @@ -71,10 +71,10 @@ dist-static: $(BIN) cp icons/* $(NAME)-$(VERSION)/icons/ mkdir -p $(NAME)-$(VERSION)/extras cp $(EXTRAS) $(NAME)-$(VERSION)/extras/ - tar c $(NAME)-$(VERSION) | bzip2 -c > $(NAME)-$(VERSION)-static.tar.bz2 - gpg -b < $(NAME)-$(VERSION)-static.tar.bz2 > $(NAME)-$(VERSION)-static.tar.bz2.sig + tar c $(NAME)-$(VERSION) | xz > $(NAME)-$(VERSION)-static.tar.xz + gpg -b < $(NAME)-$(VERSION)-static.tar.xz > $(NAME)-$(VERSION)-static.tar.xz rm -rf $(NAME)-$(VERSION) - echo $(NAME)-$(VERSION)-static.tar.bz2 $(NAME)-$(VERSION)-static.tar.bz2.sig + echo $(NAME)-$(VERSION)-static.tar.xz $(NAME)-$(VERSION)-static.tar.xz.sig # builds a basic .deb package dist-deb: @@ -128,8 +128,8 @@ index.html: doap.ttl README sed '5q' < README | smu >> $@ echo '

screenshot

' >> $@ echo "

download

" >> $@ - echo "[$(NAME) $(VERSION) source]($(NAME)-$(VERSION).tar.bz2) ([sig]($(NAME)-$(VERSION).tar.bz2.sig)) ($(RELDATE))" | smu >> $@ - echo "[$(NAME) $(VERSION) linux static]($(NAME)-$(VERSION)-static.tar.bz2) ([sig]($(NAME)-$(VERSION)-static.tar.bz2.sig)) ($(RELDATE))" | smu >> $@ + echo "[$(NAME) $(VERSION) source]($(NAME)-$(VERSION).tar.xz) ([sig]($(NAME)-$(VERSION).tar.xz.sig)) ($(RELDATE))" | smu >> $@ + echo "[$(NAME) $(VERSION) linux static]($(NAME)-$(VERSION)-static.tar.xz) ([sig]($(NAME)-$(VERSION)-static.tar.xz.sig)) ($(RELDATE))" | smu >> $@ echo "$(NAME) for mac os x [available from Homebrew](http://brew.sh/)" | smu >> $@ echo "[$(NAME) $(VERSION) windows]($(NAME)-$(VERSION)-win.zip) ([sig]($(NAME)-$(VERSION)-win.zip.sig)) ($(RELDATE))" | smu >> $@ sed '1,5d' < README | smu >> $@ -- cgit v1.2.3