• R/O
  • SSH
  • HTTPS

yash: Commit


Commit MetaInfo

Revision4167 (tree)
Time2021-04-30 22:37:56
Authormagicant

Log Message

Makefile: Support zstd-compressed distribution

Change Summary

Incremental Difference

--- yash/trunk/Makefile.in (revision 4166)
+++ yash/trunk/Makefile.in (revision 4167)
@@ -1,5 +1,5 @@
11 # Makefile.in for yash: yet another shell
2-# (C) 2007-2020 magicant
2+# (C) 2007-2021 magicant
33 #
44 # This program is free software: you can redistribute it and/or modify
55 # it under the terms of the GNU General Public License as published by
@@ -167,7 +167,7 @@
167167
168168 DISTDIR = $(TARGET)-$(VERSION)
169169 DISTS = $(DISTDIR).tar $(DISTDIR).tar.Z $(DISTDIR).tar.gz $(DISTDIR).tar.bz2 $(DISTDIR).tar.xz $(DISTDIR).shar $(DISTDIR).shar.gz $(DISTDIR).zip
170-ALL_DIST_TARGETS = dist-tarZ dist-gzip dist-bzip2 dist-xz dist-shar dist-zip
170+ALL_DIST_TARGETS = dist-tarZ dist-gzip dist-bzip2 dist-xz dist-zstd dist-shar dist-zip
171171 DIST_TARGETS = dist-gzip dist-xz
172172 RM_DISTDIR = rm -rf $(DISTDIR) $(DISTDIR).tar
173173 $(DISTDIR): _PHONY
@@ -202,6 +202,8 @@
202202 $(RM_DISTDIR)
203203 dist-xz: $(DISTDIR).tar.xz
204204 $(RM_DISTDIR)
205+dist-zstd: $(DISTDIR).tar.zst
206+ $(RM_DISTDIR)
205207 dist-shar: $(DISTDIR).shar.gz
206208 $(RM_DISTDIR)
207209 dist-zip: $(DISTDIR).zip
@@ -220,6 +222,9 @@
220222 $(DISTDIR).tar.xz: $(DISTDIR).tar
221223 rm -rf $@
222224 xz -k $(DISTDIR).tar
225+$(DISTDIR).tar.zst: $(DISTDIR).tar
226+ rm -rf $@
227+ zstd -19 $(DISTDIR).tar
223228 $(DISTDIR).shar: $(DISTDIR)
224229 shar $(DISTDIR) > $@
225230 $(DISTDIR).shar.gz: $(DISTDIR).shar
@@ -300,7 +305,7 @@
300305 config.status: configure
301306 $(SHELL) config.status --recheck
302307
303-.PHONY: all test tests check tester mofiles docs man html install install-strip install-binary install-binary-strip install-data install-html installdirs installdirs-binary installdirs-data installdirs-data-main installdirs-html uninstall uninstall-binary uninstall-data dist dist-tarZ dist-gzip dist-bzip2 dist-xz dist-shar dist-zip dist-all distcheck distfiles copy-distfiles makedeps cscope mostlyclean _mostlyclean clean _clean distclean _distclean maintainer-clean
308+.PHONY: all test tests check tester mofiles docs man html install install-strip install-binary install-binary-strip install-data install-html installdirs installdirs-binary installdirs-data installdirs-data-main installdirs-html uninstall uninstall-binary uninstall-data dist dist-tarZ dist-gzip dist-bzip2 dist-xz dist-zstd dist-shar dist-zip dist-all distcheck distfiles copy-distfiles makedeps cscope mostlyclean _mostlyclean clean _clean distclean _distclean maintainer-clean
304309 _PHONY:
305310
306311 @MAKE_INCLUDE@ alias.d
Show on old repository browser