[前][次][番号順一覧][スレッド一覧]

ruby-changes:26813

From: nobu <ko1@a...>
Date: Fri, 18 Jan 2013 11:18:48 +0900 (JST)
Subject: [ruby-changes:26813] nobu:r38865 (trunk): common.mk: install-gem

nobu	2013-01-18 11:18:31 +0900 (Fri, 18 Jan 2013)

  New Revision: 38865

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38865

  Log:
    common.mk: install-gem
    
    * common.mk (install-gem): target to install default gems only.

  Modified files:
    trunk/common.mk

Index: common.mk
===================================================================
--- common.mk	(revision 38864)
+++ common.mk	(revision 38865)
@@ -405,6 +405,13 @@ do-install-doc: $(PROGRAM) https://github.com/ruby/ruby/blob/trunk/common.mk#L405
 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)"

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]