summaryrefslogtreecommitdiff
path: root/defs
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-05-25 16:53:20 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-05-25 17:16:07 +0900
commit8fd3b9fc5f0f0ef031c54982236b6da327b81458 (patch)
treed8bfbca13e526f56d4dcd90793033e742164ee75 /defs
parent061c781a09de68c7e34e45732081aac337c4facc (diff)
Force update all RDoc at install
RDoc needs to parse all files at once for the cross-reference.
Diffstat (limited to 'defs')
-rw-r--r--defs/gmake.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/defs/gmake.mk b/defs/gmake.mk
index 0cd6fbd7f9..2fece7a6b1 100644
--- a/defs/gmake.mk
+++ b/defs/gmake.mk
@@ -89,6 +89,10 @@ install-prereq: sudo-precheck
yes-test-all no-test-all: install
yes-test-almost no-test-almost: install
endif
+ifneq ($(filter love install reinstall,$(MAKECMDGOALS)),)
+# Cross referece needs to parse all files at once
+RDOCFLAGS = --force-update
+endif
ifneq ($(filter great,$(MAKECMDGOALS)),)
love: test-rubyspec
endif