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

ruby-changes:34774

From: nobu <ko1@a...>
Date: Fri, 18 Jul 2014 10:47:06 +0900 (JST)
Subject: [ruby-changes:34774] nobu:r46857 (trunk): configure.in: with-destdir

nobu	2014-07-18 10:47:01 +0900 (Fri, 18 Jul 2014)

  New Revision: 46857

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

  Log:
    configure.in: with-destdir
    
    * configure.in: add --with-destdir option which sets default
      destination directory to install.

  Modified files:
    trunk/Makefile.in
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 46856)
+++ configure.in	(revision 46857)
@@ -4185,6 +4185,11 @@ AC_ARG_WITH([ruby-pc], https://github.com/ruby/ruby/blob/trunk/configure.in#L4185
 AC_SUBST(ruby_pc)
 AC_SUBST(exec, [exec])
 
+AC_ARG_WITH(destdir,
+	    AS_HELP_STRING([--with-destdir=DESTDIR], [specify default directory to install]),
+	    [DESTDIR="$withval"])
+AC_SUBST(DESTDIR)
+
 AC_CONFIG_FILES($ruby_pc:template/ruby.pc.in,
     [
     if sed ['s/\$(\([A-Za-z_][A-Za-z0-9_]*\))/${\1}/g;s/@[A-Za-z_][A-Za-z0-9_]*@//'] $ruby_pc > ruby.tmp.pc &&
Index: Makefile.in
===================================================================
--- Makefile.in	(revision 46856)
+++ Makefile.in	(revision 46857)
@@ -184,6 +184,8 @@ MESSAGE_END = ; do echo "$$line"; done https://github.com/ruby/ruby/blob/trunk/Makefile.in#L184
 ECHO_BEGIN = @sep=''; for word in
 ECHO_END = ; do echo @ECHO_N@ "$$sep'$$word'@ECHO_C@"; sep=' '; done; echo
 
+DESTDIR       = @DESTDIR@
+
 configure_args = @configure_args@
 #### End of variables
 

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

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