summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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:%,%,$@)