ruby-changes:46973
From: nobu <ko1@a...>
Date: Thu, 15 Jun 2017 12:12:42 +0900 (JST)
Subject: [ruby-changes:46973] nobu:r59088 (trunk): common.mk: tweaked packages order
nobu 2017-06-15 12:12:32 +0900 (Thu, 15 Jun 2017) New Revision: 59088 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59088 Log: common.mk: tweaked packages order * common.mk (dist): tweaked packages order by $(DISTPKGS). .tar.gz comes first for the hash values in downloads page, then popular .zip. * tool/make-snapshot: "all" in -packages means all of the rest package types now. Modified files: trunk/common.mk trunk/tool/make-snapshot Index: tool/make-snapshot =================================================================== --- tool/make-snapshot (revision 59087) +++ tool/make-snapshot (revision 59088) @@ -93,6 +93,9 @@ class Dir https://github.com/ruby/ruby/blob/trunk/tool/make-snapshot#L93 end $packages &&= $packages.split(/[, ]+/).tap {|pkg| + if all = pkg.index("all") + pkg[all, 1] = PACKAGES.keys - pkg + end pkg -= PACKAGES.keys pkg.empty? or abort "#{File.basename $0}: unknown packages - #{pkg.join(", ")}" } Index: common.mk =================================================================== --- common.mk (revision 59087) +++ common.mk (revision 59088) @@ -1085,9 +1085,10 @@ lldb: miniruby$(EXEEXT) PHONY https://github.com/ruby/ruby/blob/trunk/common.mk#L1085 lldb-ruby: $(PROGRAM) PHONY lldb $(enable_shared:yes=-o 'target modules add ${LIBRUBY_SO}') -o '$(LLDB_INIT)' $(PROGRAM) -- $(TESTRUN_SCRIPT) +DISTPKGS = gzip,zip,all dist: $(BASERUBY) $(srcdir)/tool/make-snapshot \ - -srcdir=$(srcdir) \ + -srcdir=$(srcdir) -packages=$(DISTPKGS) \ -unicode-version=$(UNICODE_VERSION) \ tmp $(RELNAME) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/