]> granicus.if.org Git - apache/commitdiff
Install all build/*.mk when we install Apache. This is the first step
authorRyan Bloom <rbb@apache.org>
Mon, 30 Jul 2001 02:55:55 +0000 (02:55 +0000)
committerRyan Bloom <rbb@apache.org>
Mon, 30 Jul 2001 02:55:55 +0000 (02:55 +0000)
to getting apxs to use the same makefiles as Apache.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89776 13f79535-47bb-0310-9956-ffa450edef68

Makefile.in
acinclude.m4

index 4c660c02ef7376851b8ae2ecc9a7e41b4bcc9039..7948cf20c4b7eb97eaa9fdf4674b8fb4c3cda26a 100644 (file)
@@ -17,7 +17,7 @@ PROGRAMS        = $(PROGRAM_NAME)
 TARGETS         = $(PROGRAMS) $(shared_build) $(other_targets)
 PHONY_TARGETS   = $(srcdir)/buildmark.c
 INSTALL_TARGETS = install-conf install-htdocs install-icons install-other \
-       install-cgi install-include install-suexec install-man
+       install-cgi install-include install-suexec install-man install-build
 
 DISTCLEAN_TARGETS  = include/ap_config_auto.h include/ap_config_path.h \
        modules.c config.cache config.log config.status config_vars.mk
@@ -47,6 +47,13 @@ install-conf:
                fi; \
        done
 
+install-build:
+       @echo Installing build system files 
+       @test -d $(installbuilddir) || $(MKINSTALLDIRS) $(installbuilddir) 
+       @cp config_vars.mk $(installbuilddir); \
+       cd build; \
+       cp *.mk $(installbuilddir);
+
 htdocs-srcdir = docs/docroot
 
 docs::
index 4ca088b222ad0d277e1c709374ea2dc184faf30b..d5c80009fd37a99e43242e60f8367346faecd216 100644 (file)
@@ -45,6 +45,7 @@ AC_DEFUN(APACHE_GEN_CONFIG_VARS,[
   APACHE_SUBST(includedir)
   APACHE_SUBST(iconsdir)
   APACHE_SUBST(sysconfdir)
+  APACHE_SUBST(installbuilddir)
   APACHE_SUBST(other_targets)
   APACHE_SUBST(progname)
   APACHE_SUBST(prefix)
@@ -255,7 +256,7 @@ AC_DEFUN(APACHE_LAYOUT,[
   rm $pldconf
   for var in prefix exec_prefix bindir sbindir libexecdir mandir \
              sysconfdir datadir iconsdir htdocsdir cgidir includedir \
-             localstatedir runtimedir logfiledir proxycachedir; do
+             localstatedir runtimedir logfiledir proxycachedir installbuilddir; do
     eval "val=\"\$$var\""
     case $val in
       *+)
@@ -304,6 +305,7 @@ if test -z "$LAYOUT"; then
   libexecdir='${prefix}/modules'
   mandir='${prefix}/man'
   layout_name=Apache
+  installbuilddir='${prefix}/build'
 else 
   APACHE_LAYOUT($srcdir/config.layout, $LAYOUT)
 fi