1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-12-28 16:15:02 +01:00

43447: Generate tar.xz artifacts only.

This commit is contained in:
Daniel Shahaf 2018-09-11 18:29:59 +00:00
parent b44be21525
commit 3b8c407bb9
3 changed files with 9 additions and 17 deletions

View file

@ -1,5 +1,8 @@
2018-09-12 Daniel Shahaf <d.s@daniel.shahaf.name> 2018-09-12 Daniel Shahaf <d.s@daniel.shahaf.name>
* 43447: Etc/creating-a-release.txt, Makefile.in: Generate
tar.xz artifacts only.
* 43443: Completion/Unix/Command/_git: When completing worktrees, * 43443: Completion/Unix/Command/_git: When completing worktrees,
show the ref and hash of each worktree. show the ref and hash of each worktree.

View file

@ -40,8 +40,6 @@ To create a zsh release:
make tarxz-doc tarxz-src make tarxz-doc tarxz-src
for i in zsh*.tar.?z ; do gpg -ab -- $i ; done 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: - [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 git clone git://git.code.sf.net/p/zsh/web

View file

@ -159,28 +159,19 @@ $(sdir)/stamp-h.in: $(sdir)/configure
DISTNAME = zsh-$(VERSION) DISTNAME = zsh-$(VERSION)
targz-src: $(DISTNAME).tar.gz tarxz-src: $(DISTNAME).tar.xz
$(DISTNAME).tar.gz: FORCE $(DISTNAME).tar.xz: FORCE
@$(sdir_top)/Util/mkdisttree.sh $(DISTNAME) $(sdir_top) $(dir_top) SRC \ @$(sdir_top)/Util/mkdisttree.sh $(DISTNAME) $(sdir_top) $(dir_top) SRC \
$(MAKE) $(MAKEDEFS) $(MAKE) $(MAKEDEFS)
echo '#define ZSH_PATCHLEVEL "'`cd $(sdir_top) && git describe --tags --long --abbrev=7`'"' >$(DISTNAME)/Src/patchlevel.h.release 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) rm -rf $(DISTNAME)
targz-doc: $(DISTNAME)-doc.tar.gz tarxz-doc: $(DISTNAME)-doc.tar.xz
$(DISTNAME)-doc.tar.gz: FORCE $(DISTNAME)-doc.tar.xz: FORCE
@$(sdir_top)/Util/mkdisttree.sh $(DISTNAME) $(sdir_top) $(dir_top) DOC \ @$(sdir_top)/Util/mkdisttree.sh $(DISTNAME) $(sdir_top) $(dir_top) DOC \
$(MAKE) $(MAKEDEFS) $(MAKE) $(MAKEDEFS)
tar cf - $(DISTNAME) | gzip -9 > $@ tar cf - $(DISTNAME) | xz -9 > $@
rm -rf $(DISTNAME) rm -rf $(DISTNAME)
FORCE: 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 > $@