zsh-workers
 help / color / mirror / code / Atom feed
From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: zsh-workers@zsh.org
Subject: [PATCH] Generate tar.xz artifacts only.
Date: Tue, 11 Sep 2018 18:29:59 +0000	[thread overview]
Message-ID: <20180911182959.19964-1-danielsh@tarpaulin.shahaf.local2> (raw)

---
Does anyone wish tar.gz artifacts to continue to be produced?

No one complained when 5.6.1 was released without tar.gz artifacts, so let's
take this opportunity to simplify the workflow.

Cheers,

Daniel

 Etc/creating-a-release.txt |  2 --
 Makefile.in                | 21 ++++++---------------
 2 files changed, 6 insertions(+), 17 deletions(-)

diff --git a/Etc/creating-a-release.txt b/Etc/creating-a-release.txt
index bb5502e35..2445151f5 100644
--- a/Etc/creating-a-release.txt
+++ b/Etc/creating-a-release.txt
@@ -40,8 +40,6 @@ To create a zsh release:
 	make tarxz-doc tarxz-src
 	for i in zsh*.tar.?z ; do gpg -ab -- $i ; done
 
-	# The tarxz-* targets create both *.tar.gz and *.tar.xz.
-
 - [one time step] Add your key to http://zsh.sf.net/Arc/source.html; see README in the 'web' repository for how to do this.  Its URL is:
 
 	git clone git://git.code.sf.net/p/zsh/web
diff --git a/Makefile.in b/Makefile.in
index 00d74b7f2..d8568294b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -159,28 +159,19 @@ $(sdir)/stamp-h.in: $(sdir)/configure
 
 DISTNAME = zsh-$(VERSION)
 
-targz-src: $(DISTNAME).tar.gz
-$(DISTNAME).tar.gz: FORCE
+tarxz-src: $(DISTNAME).tar.xz
+$(DISTNAME).tar.xz: FORCE
 	@$(sdir_top)/Util/mkdisttree.sh $(DISTNAME) $(sdir_top) $(dir_top) SRC \
 	    $(MAKE) $(MAKEDEFS)
 	echo '#define ZSH_PATCHLEVEL "'`cd $(sdir_top) && git describe --tags --long --abbrev=7`'"' >$(DISTNAME)/Src/patchlevel.h.release
-	tar cf - $(DISTNAME) | gzip -9 > $@
+	tar cf - $(DISTNAME) | xz -9 > $@
 	rm -rf $(DISTNAME)
 
-targz-doc: $(DISTNAME)-doc.tar.gz
-$(DISTNAME)-doc.tar.gz: FORCE
+tarxz-doc: $(DISTNAME)-doc.tar.xz
+$(DISTNAME)-doc.tar.xz: FORCE
 	@$(sdir_top)/Util/mkdisttree.sh $(DISTNAME) $(sdir_top) $(dir_top) DOC \
 	    $(MAKE) $(MAKEDEFS)
-	tar cf - $(DISTNAME) | gzip -9 > $@
+	tar cf - $(DISTNAME) | xz -9 > $@
 	rm -rf $(DISTNAME)
 
 FORCE:
-
-tarxz-src: $(DISTNAME).tar.xz
-$(DISTNAME).tar.xz: $(DISTNAME).tar.gz
-	< $< zcat | xz -9 > $@
-
-tarxz-doc: $(DISTNAME)-doc.tar.xz
-$(DISTNAME)-doc.tar.xz: $(DISTNAME)-doc.tar.gz
-	< $< zcat | xz -9 > $@
-

                 reply	other threads:[~2018-09-11 18:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180911182959.19964-1-danielsh@tarpaulin.shahaf.local2 \
    --to=d.s@daniel.shahaf.name \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).