summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-18 02:18:31 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-18 02:18:31 +0000
commit750a5d38a6d8f4d22606a693bc807605869e9a79 (patch)
tree722ee2b53bcb2cfa2efe45bce161c60714c23972 /common.mk
parentaaff971e017e0cf6edf37c4ec265ede3d04c686f (diff)
common.mk: install-gem
* common.mk (install-gem): target to install default gems only. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index 2e90d074bd..3fc0d04563 100644
--- a/common.mk
+++ b/common.mk
@@ -405,6 +405,13 @@ do-install-doc: $(PROGRAM)
post-install-doc::
@$(NULLCMD)
+install-gem: pre-install-gem do-install-gem post-install-gem
+pre-install-gem:: pre-install-bin pre-install-lib pre-install-man
+do-install-gem: $(PROGRAM)
+ $(INSTRUBY) --make="$(MAKE)" $(INSTRUBY_ARGS) --install=gem
+post-install-gem::
+ @$(NULLCMD)
+
rdoc: PHONY main
@echo Generating RDoc documentation
$(Q) $(XRUBY) "$(srcdir)/bin/rdoc" --root "$(srcdir)" --page-dir "$(srcdir)/doc" --encoding=UTF-8 --no-force-update --all --ri --op "$(RDOCOUT)" --debug $(RDOCFLAGS) "$(srcdir)"