>Number:         1617
>Category:       general
>Synopsis:       There is no Makefile rule for install
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Fri Jan  2 15:10:00 PST 1998
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.2.4
>Environment:
SunOS grief 5.6 Generic sun4m sparc
>Description:
This patch makes it nominally easier to install Apache.

diff -u --recursive --new-file apache_1.2.4.old/Makefile apache_1.2.4/Makefile
--- apache_1.2.4.old/Makefile   Wed Dec 31 16:00:00 1969
+++ apache_1.2.4/Makefile       Fri Jan  2 14:08:20 1998
@@ -0,0 +1,6 @@
+#
+# Top level Apache makefile
+#
+
+all:
+       @echo "Run ./Configure and make from the src directory"
diff -u --recursive --new-file apache_1.2.4.old/src/Makefile.tmpl apache_1.2.4/s
rc/Makefile.tmpl
--- apache_1.2.4.old/src/Makefile.tmpl  Mon Jun 30 18:33:31 1997
+++ apache_1.2.4/src/Makefile.tmpl      Fri Jan  2 14:48:41 1998
@@ -3,6 +3,7 @@
 # This is combined with the information in the "Configuration" file
 # by the configure script to make the actual Makefile.
 
+INSTDIR=/usr/local/apache
 CFLAGS=$(OPTIM) $(CFLAGS1) $(EXTRA_CFLAGS)
 LIBS=$(EXTRA_LIBS) $(LIBS1)
 INCLUDES=$(INCLUDES1) $(EXTRA_INCLUDES)
@@ -39,6 +40,16 @@
        rm -f httpd *.o core
        cd regex; $(MAKE) clean
        cd modules; $(MAKE) clean
+
+install:
+       mkdir -p $(INSTDIR)
+       (cd .. ; tar cf - cgi-bin conf ht-docs icons support | \
+       (cd $(INSTDIR) ; tar xvpBf -))
+       cp httpd $(INSTDIR)
+       chmod 0700 $(INSTDIR)/httpd
+       @echo "Be certain to read the installation instructions and"
+       @echo "edit the configuration files in $(INSTDIR)/conf
+
 
 dist.tar: 
        # Assure a semi-sensible configuration going out...

>How-To-Repeat:

>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]



Reply via email to