diff options
author | Nick White <git@njw.name> | 2015-07-28 16:51:19 +0100 |
---|---|---|
committer | Nick White <git@njw.name> | 2015-07-28 16:51:19 +0100 |
commit | 28583283088a3b66f7b965b68738097cb47dc8b5 (patch) | |
tree | aa412aa8d9fb45ff555d915a9077ce63d32e2511 /Makefile | |
parent | 9c40d77b5e04bbcae170dcd425a25cd857dddc82 (diff) |
Switch to xz compression of releases
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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 '<p><img src="screenshot1.png" alt="screenshot"/></p>' >> $@ echo "<h2>download</h2>" >> $@ - 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 >> $@ |