ruby-changes:39653
From: nobu <ko1@a...>
Date: Wed, 2 Sep 2015 11:51:41 +0900 (JST)
Subject: [ruby-changes:39653] nobu:r51734 (trunk): gmake.mk: no docs if test only
nobu 2015-09-02 11:51:13 +0900 (Wed, 02 Sep 2015) New Revision: 51734 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51734 Log: gmake.mk: no docs if test only * defs/gmake.mk (TEST_DEPENDS): make docs only when checking, but not only btest and test. Modified files: trunk/defs/gmake.mk Index: defs/gmake.mk =================================================================== --- defs/gmake.mk (revision 51733) +++ defs/gmake.mk (revision 51734) @@ -7,7 +7,7 @@ TEST_TARGETS += $(subst check,test-all,$ https://github.com/ruby/ruby/blob/trunk/defs/gmake.mk#L7 TEST_TARGETS := $(patsubst test-%,yes-test-%,$(patsubst btest-%,yes-btest-%,$(TEST_TARGETS))) TEST_DEPENDS := $(if $(TEST_TARGETS),$(filter all main exts,$(MAKECMDGOALS))) TEST_DEPENDS += $(if $(filter $(CHECK_TARGETS),$(MAKECMDGOALS)),main) -TEST_DEPENDS += $(if $(filter all,$(INSTALLDOC)),docs) +TEST_DEPENDS += $(if $(filter main,$(TEST_DEPENDS)),$(if $(filter all,$(INSTALLDOC)),docs)) ifneq ($(filter -O0 -Od,$(optflags)),) override XCFLAGS := $(filter-out -D_FORTIFY_SOURCE=%,$(XCFLAGS)) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/