[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

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

From: William Uther <will+_at_cs.cmu.edu>
Date: 2002-07-24 17:42:44 CEST

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
Received on Wed Jul 24 17:43:32 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.