ruby-changes:34394
From: nobu <ko1@a...>
Date: Fri, 20 Jun 2014 13:20:31 +0900 (JST)
Subject: [ruby-changes:34394] nobu:r46475 (trunk): gmake.mk: for love
nobu 2014-06-20 13:20:26 +0900 (Fri, 20 Jun 2014) New Revision: 46475 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46475 Log: gmake.mk: for love * defs/gmake.mk: add dependencies for love. Modified files: trunk/defs/gmake.mk Index: defs/gmake.mk =================================================================== --- defs/gmake.mk (revision 46474) +++ defs/gmake.mk (revision 46475) @@ -4,6 +4,7 @@ TEST_TARGETS += $(subst check,test-all,$ https://github.com/ruby/ruby/blob/trunk/defs/gmake.mk#L4 TEST_TARGETS := $(patsubst test-%,yes-test-%,$(patsubst btest-%,yes-btest-%,$(TEST_TARGETS))) TEST_DEPENDS := $(if $(TEST_TARGETS),$(filter all main exts,$(MAKECMDGOALS))) TEST_DEPENDS += $(TEST_DEPENDS) $(if $(filter check%,$(MAKECMDGOALS)),main) +TEST_DEPENDS += $(if $(filter all,$(INSTALLDOC)),docs) ifneq ($(filter -O0 -Od,$(optflags)),) override XCFLAGS := $(filter-out -D_FORTIFY_SOURCE=%,$(XCFLAGS)) @@ -28,15 +29,15 @@ $(foreach arch,$(filter -arch=%,$(subst https://github.com/ruby/ruby/blob/trunk/defs/gmake.mk#L29 $(eval $(call archcmd,$(patsubst -arch=%,%,$(value arch)),$(patsubst -arch=%,-arch %,$(value arch))))) endif -ifneq ($(filter check% test,$(MAKECMDGOALS)),) +ifneq ($(filter love check% test,$(MAKECMDGOALS)),) yes-test-knownbug: $(TEST_DEPENDS) yes-btest-ruby yes-btest-ruby: $(TEST_DEPENDS) yes-test-sample yes-test-sample: $(TEST_DEPENDS) endif -ifneq ($(filter check%,$(MAKECMDGOALS)) $(filter test-all,$(TEST_TARGETS)),) +ifneq ($(filter love check%,$(MAKECMDGOALS)) $(filter test-all,$(TEST_TARGETS)),) yes-test-all yes-test-ruby: $(filter-out %test-all %test-ruby check%,$(TEST_TARGETS)) endif -ifneq ($(filter check%,$(MAKECMDGOALS))$(if $(filter test-all,$(MAKECMDGOALS)),$(filter test-knownbug,$(MAKECMDGOALS))),) +ifneq ($(filter love check%,$(MAKECMDGOALS))$(if $(filter test-all,$(MAKECMDGOALS)),$(filter test-knownbug,$(MAKECMDGOALS))),) yes-test-all yes-test-ruby: yes-test-knownbug endif @@ -51,3 +52,10 @@ ifneq ($(filter reinstall,$(MAKECMDGOALS https://github.com/ruby/ruby/blob/trunk/defs/gmake.mk#L52 install-prereq: uninstall uninstall sudo-precheck: all $(if $(filter all,$(INSTALLDOC)),docs) endif + +ifneq ($(filter love,$(MAKECMDGOALS)),) +showflags: up +sudo-precheck: test +install-prereq: sudo-precheck +yes-test-all no-test-all: install +endif -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/