You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by William Uther <wi...@cs.cmu.edu> on 2002/07/24 15:42:44 UTC

[PATCH] add an 'install-static' option to the makefile

Hi all,

  Here is a quick patch that adds an install static option to the makefile.
This option doesn't install headers or libs.  This is my first configure
stuff, and I wrote it by pattern matching, so this should be reviewed well.

Later,

\x/ill         :-}

   * Makefile.in : Added extra build target to only install binaries, not
                   headers or libs.  Adds the extra configure variable
                   @INSTALL_STATIC_RULES@

   * configure.in: Populate the @INSTALL_STATIC_RULES@ variable in the
                   makefile.

Index: ./Makefile.in
===================================================================
--- ./Makefile.in
+++ ./Makefile.in       Wed Jul 24 11:17:32 2002
@@ -120,6 +120,8 @@
 
 local-install: @INSTALL_RULES@ @SWIG_INSTALL_RULES@
 
+install-static: @INSTALL_STATIC_RULES@
+
 check: $(TEST_DEPS) @FS_TEST_DEPS@
        @$(PYTHON) $(top_srcdir)/build/pycheck.py ; \
        $(PYTHON) $(top_srcdir)/build/run_tests.py \
Index: ./configure.in
===================================================================
--- ./configure.in
+++ ./configure.in      Mon Jul 22 20:00:27 2002
@@ -138,15 +138,19 @@
                     $SVN_FS_WANT_DB_PATCH)
 
 # Only add *_APACHE_RULE if we also have db, since mod_dav_svn depends on
it.
-INSTALL_RULES="install-base-lib install-lib install-bin install-include
install-docs"
+INSTALL_STATIC_RULES="install-bin install-docs"
+INSTALL_RULES="install-base-lib install-lib install-include install-static"
 BUILD_RULES="base-lib lib bin test"
 if test "$svn_lib_berkeley_db" = "yes"; then
   BUILD_RULES="base-lib fs-lib lib bin fs-bin $BUILD_APACHE_RULE test
fs-test"
   INSTALL_RULES="install-base-lib install-fs-lib install-lib install-bin
install-fs-bin install-include install-docs $INSTALL_APACHE_RULE"
+  INSTALL_STATIC_RULES="install-bin install-fs-bin install-docs"
+  INSTALL_RULES="install-base-lib install-fs-lib install-lib
install-include install-static $INSTALL_APACHE_RULE"
   FS_TEST_DEPS="\$(FS_TEST_DEPS)"
   FS_TEST_PROGRAMS="\$(FS_TEST_PROGRAMS)"
 fi
 AC_SUBST(BUILD_RULES)
+AC_SUBST(INSTALL_STATIC_RULES)
 AC_SUBST(INSTALL_RULES)
 AC_SUBST(FS_TEST_DEPS)
 AC_SUBST(FS_TEST_PROGRAMS)


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [PATCH] add an 'install-static' option to the makefile

Posted by cm...@collab.net.
William Uther <wi...@cs.cmu.edu> writes:

> Hi all,
> 
>   Here is a quick patch that adds an install static option to the makefile.
> This option doesn't install headers or libs.  This is my first configure
> stuff, and I wrote it by pattern matching, so this should be reviewed well.

I like it.  Am testing now.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org