summaryrefslogtreecommitdiff
path: root/defs
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-20 03:07:46 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-20 03:07:46 (GMT)
commit312fc605c1e09c487f66c13fdbcf6bfff44d8b7f (patch)
tree18ecb5df0e786c94cb58cd4ad86d95cced2a9fce /defs
parent1cf0af636c7343d5764ca70cb23a05761df4457b (diff)
rdoc query
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'defs')
-rw-r--r--defs/gmake.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/defs/gmake.mk b/defs/gmake.mk
index eb8b560..42a8e2e 100644
--- a/defs/gmake.mk
+++ b/defs/gmake.mk
@@ -184,3 +184,9 @@ $(MJIT_MIN_HEADER): $(mjit_min_headers) $(PREP)
$(Q) $(MAKE_LINK) $@ $(MJIT_HEADER_INSTALL_DIR)/$(@F)
endif
+
+# Query on the generated rdoc
+#
+# $ make rdoc:Integer#+
+rdoc\:%: PHONY
+ $(Q)$(RUNRUBY) $(srcdir)/bin/ri --no-standard-docs --doc-dir=$(RDOCOUT) $(patsubst rdoc:%,%,$@)