Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 22611 invoked by uid 500); 16 Jul 2000 10:13:19 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk X-No-Archive: yes Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 22600 invoked from network); 16 Jul 2000 10:13:18 -0000 Date: Sun, 16 Jul 2000 12:12:30 +0200 From: "Ralf S. Engelschall" To: Apache Group Developer ML Subject: httpd-docs-1.3 module Message-ID: <20000716121230.A38639@engelschall.com> Reply-To: rse@engelschall.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i Organization: Engelschall, Germany. X-Web-Homepage: http://www.engelschall.com/ X-PGP-Public-Key: https://www.engelschall.com/ho/rse/pgprse.asc X-PGP-Fingerprint: 00 C9 21 8E D1 AB 70 37 DD 67 A2 3A 0A 6F 8D A5 Although I think it was reasonable to place the documentation from apache-1.3/htdocs/ into a new module httpd-docs-1.3/, I think too much was done. Actuallly only apache-1.3/htdocs/manual/ should have become httpd-docs-1.3/ and the old apache-1.3/htdocs/index.html* files should have been kept. Because currently for non-release versions one gets an error under "make install" because htdocs/ is not longer present. That could be ok, but what is nasty is this way a test page is no longer available. I install Apache a lot into temporary directories, fire it up and perform a "GET / HTTP/1.0" in port 80 for quick testing. This is now broken. So I recommend to move back the httpd-docs-1.3/htdocs/index.html* files into apache-1.3/htdocs/. Or at least let us commit the following patch: Index: Makefile.tmpl =================================================================== RCS file: /e/apache/REPOS/apache-1.3/Makefile.tmpl,v retrieving revision 1.96 diff -u -d -r1.96 Makefile.tmpl --- Makefile.tmpl 2000/04/13 19:08:25 1.96 +++ Makefile.tmpl 2000/07/16 10:07:11 @@ -455,9 +455,21 @@ -@if [ -f $(root)$(htdocsdir)/index.html ] || [ -f $(root)$(htdocsdir)/index.html.en ]; then \ echo "[PRESERVING EXISTING DATA SUBDIR: $(root)$(htdocsdir)/]"; \ else \ - echo "Copying tree $(TOP)/htdocs/ -> $(root)$(htdocsdir)/"; \ - (cd $(TOP)/htdocs/ && $(TAR) $(TAROPT) - *) |\ - (cd $(root)$(htdocsdir)/ && $(TAR) -xf -); \ + if [ -d "$(TOP)/htdocs" ]; then \ + echo "Copying tree $(TOP)/htdocs/ -> $(root)$(htdocsdir)/"; \ + (cd $(TOP)/htdocs/ && $(TAR) $(TAROPT) - *) |\ + (cd $(root)$(htdocsdir)/ && $(TAR) -xf -); \ + else \ + echo "Creating dummy page in $(root)$(htdocsdir)/"; \ + (echo ""; \ + echo "Placeholder Page"; \ + echo ""; \ + echo "

Placeholder Page

"; \ + echo "This is a placeholder for the httpd-docs-1.3 module"; \ + echo ""; \ + echo ""; \ + ) >$(root)$(htdocsdir)/index.html; \ + fi; \ find $(root)$(htdocsdir)/ -type d -exec chmod a+rx {} \; ; \ find $(root)$(htdocsdir)/ -type f -exec chmod a+r {} \; ; \ fi Yours, Ralf S. Engelschall rse@engelschall.com www.engelschall.com