From 750a5d38a6d8f4d22606a693bc807605869e9a79 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 18 Jan 2013 02:18:31 +0000 Subject: [PATCH] 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 --- common.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/common.mk b/common.mk index 2e90d074bda74a..3fc0d04563d666 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)"