[前][次][番号順一覧][スレッド一覧]

ruby-changes:45540

From: nobu <ko1@a...>
Date: Mon, 13 Feb 2017 08:37:35 +0900 (JST)
Subject: [ruby-changes:45540] nobu:r57612 (trunk): gmake.mk: -n for tests

nobu	2017-02-13 08:37:28 +0900 (Mon, 13 Feb 2017)

  New Revision: 57612

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57612

  Log:
    gmake.mk: -n for tests
    
    * defs/gmake.mk (gnumake_recursive): do not invoke tests if -n
      option is given.

  Modified files:
    trunk/defs/gmake.mk
Index: defs/gmake.mk
===================================================================
--- defs/gmake.mk	(revision 57611)
+++ defs/gmake.mk	(revision 57612)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/defs/gmake.mk#L1
 # -*- makefile-gmake -*-
 gnumake = yes
-override gnumake_recursive := +
+override gnumake_recursive := $(if $(findstring n,$(firstword $(MFLAGS))),,+)
 mflags := $(filter-out -j%,$(MFLAGS))
 
 CHECK_TARGETS := exam love check%

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]