]> granicus.if.org Git - apache/commitdiff
My first try at relocating the manual tree outside of the htdocs/ directory.
authorMartin Kraemer <martin@apache.org>
Thu, 23 Aug 2001 15:17:02 +0000 (15:17 +0000)
committerMartin Kraemer <martin@apache.org>
Thu, 23 Aug 2001 15:17:02 +0000 (15:17 +0000)
It will now reside in the ServerRoot, alongside with .../man/ and .../icons/
and .../htdocs/
-
Please review the config.layout entries for the vendor specific entries,
I supplied sensible defaults but you may disagree.

Reviewed by: William A. Rowe, Jr., Joshua Slive, Rich Bowen

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

Makefile.in
acinclude.m4
config.layout
docs/conf/httpd-std.conf

index 8a3dffc20755598ab8174fd96b0c0c04d4f86629..df825faa79884ca31dd87d00280d7b3605ab2f03 100644 (file)
@@ -68,8 +68,8 @@ install-htdocs:
        @echo Installing HTML documents
        @test -d $(htdocsdir) || $(MKINSTALLDIRS) $(htdocsdir)
        @test -d $(htdocs-srcdir) && (cd $(htdocs-srcdir) && cp -rp * $(htdocsdir))
-       @test -d $(htdocsdir)/manual || $(MKINSTALLDIRS) $(htdocsdir)/manual
-       @test -d docs/manual && (cd docs/manual && cp -rp * $(htdocsdir)/manual)
+       @test -d $(prefix)/manual || $(MKINSTALLDIRS) $(prefix)/manual
+       @test -d docs/manual && (cd docs/manual && cp -rp * $(prefix)/manual)
        @(cd $(htdocsdir) && find . -name "CVS" -print | xargs rm -rf {} \;)
 
 install-error:
index efedaacbc54b33b4f7bcd8ae867f03fc0b5ea8ad..c40358af0640a9ac3450dee0d9ccc2dc46fabc56 100644 (file)
@@ -42,6 +42,7 @@ AC_DEFUN(APACHE_GEN_CONFIG_VARS,[
   APACHE_SUBST(mandir)
   APACHE_SUBST(libexecdir)
   APACHE_SUBST(htdocsdir)
+  APACHE_SUBST(manualdir)
   APACHE_SUBST(includedir)
   APACHE_SUBST(errordir)
   APACHE_SUBST(iconsdir)
@@ -320,6 +321,7 @@ if test -z "$LAYOUT"; then
   # create the Apache layout in config.layout, and it really should just
   # use what is specified in config.layout instead of duping it.
   htdocsdir='$(prefix)/htdocs'
+  manualdir='$(prefix)/manual'
   errordir='$(prefix)/error'
   iconsdir='$(prefix)/icons'
   cgidir='$(prefix)/cgi-bin'
index 92ee999877366fba96abacdcbb03a388ce5890e1..ee4b0464f33637fdf3f62109547948f681629294 100644 (file)
@@ -22,6 +22,7 @@
     errordir:      $datadir/error
     iconsdir:      $datadir/icons
     htdocsdir:     $datadir/htdocs
+    manualdir:     $datadir/manual
     cgidir:        $datadir/cgi-bin
     includedir:    $prefix/include
     localstatedir: $prefix
@@ -44,6 +45,7 @@
     errordir:      $datadir/error
     iconsdir:      $datadir/icons
     htdocsdir:     $datadir/htdocs
+    manualdir:     $datadir/manual
     cgidir:        $datadir/cgi-bin
     includedir:    $prefix/include+
     localstatedir: $prefix/var+
@@ -65,6 +67,7 @@
     errordir:      error
     iconsdir:      icons
     htdocsdir:     htdocs
+    manualdir:     manual
     cgidir:        cgi-bin
     includedir:    include
     localstatedir:
@@ -85,6 +88,7 @@
     datadir:       $prefix
     errordir:      /System/Library/Apache/Error
     iconsdir:      /System/Library/Apache/Icons
+    manualdir:     /System/Library/Apache/Manual
     htdocsdir:     $datadir/Documents
     cgidir:        $datadir/CGI-Executables
     includedir:    /System/Library/Frameworks/Apache.framework/Versions/1.3/Headers
     errordir:      $prefix/share/httpd/error
     iconsdir:      $prefix/share/httpd/icons
     htdocsdir:     $datadir/Documents
+    manualdir:     $datadir/share/httpd/manual
     cgidir:        $datadir/CGI-Executables
     includedir:    $prefix/include+
     localstatedir: /var
     errordir:      $datadir/error
     iconsdir:      $datadir/icons
     htdocsdir:     $datadir/html
+    manualdir:     $datadir/manual
     cgidir:        $datadir/cgi-bin
     includedir:    $prefix/include/apache
     localstatedir: /var
     errordir:      $datadir/error
     iconsdir:      $datadir/icons
     htdocsdir:     $datadir/htdocs
+    manualdir:     $datadir/manual
     cgidir:        $datadir/cgi-bin
     includedir:    $prefix/include
     localstatedir: /var$prefix
     errordir:      $datadir/error
     iconsdir:      $datadir/icons
     htdocsdir:     $datadir/htdocs
+    manualdir:     $datadir/manual
     cgidir:        $datadir/cgi-bin
     includedir:    $prefix/include
     localstatedir: $prefix
     errordir:      $datadir/error
     iconsdir:      $datadir/icons
     htdocsdir:     $datadir/htdocs
+    manualdir:     $datadir/manual
     cgidir:        $datadir/cgi-bin
     includedir:    $prefix/include/apache
     localstatedir: /var
     errordir:      $datadir/error
     iconsdir:      $datadir/icons
     htdocsdir:     $datadir/htdocs
+    manualdir:     $datadir/manual
     cgidir:        $datadir/cgi-bin
     includedir:    $exec_prefix/include/apache
     localstatedir: /var
     errordir:      $datadir/error
     iconsdir:      $datadir/icons
     htdocsdir:     $datadir/htdocs
+    manualdir:     $datadir/manual
     cgidir:        $datadir/cgi-bin
     includedir:    $exec_prefix/include
     localstatedir: $prefix
     errordir:      $prefix/error
     iconsdir:      $prefix/icons
     htdocsdir:     $prefix/htdocs
+    manualdir:     $datadir/manual
     cgidir:        $prefix/cgi-bin
     includedir:    $exec_prefix/lib/apache/include
     localstatedir: $prefix
index 5b5735d46803f322eda81b77473ae51beb67b874..89c6db2fd95a580dfeffea12581a70d4c8db3030 100644 (file)
@@ -489,13 +489,13 @@ Alias /icons/ "@@ServerRoot@@/icons/"
 </Directory>
 
 #
-# This should be changed to the ServerRoot/htdocs/manual/.  The alias provides
+# This should be changed to the ServerRoot/manual/.  The alias provides
 # the manual, even if you choose to move your DocumentRoot.  You may comment
 # this out if you do not care for the documentation.
 #
-Alias /manual "@@ServerRoot@@/htdocs/manual"
+Alias /manual "@@ServerRoot@@/manual"
 
-<Directory "@@ServerRoot@@/htdocs/manual/">
+<Directory "@@ServerRoot@@/manual/">
     Options Indexes FollowSymLinks MultiViews
     AllowOverride None
     Order allow,deny