httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kraemer <Martin.Krae...@mch.sni.de>
Subject [BUG] src/helpers/mkdir.sh should make intermediate directories
Date Tue, 14 Jul 1998 15:30:13 GMT
When the top level installation directory (e.g., /usr/local/apache )
doesn't exist yet, then a "make install" fails:

> make install
===> [mktree: Creating Apache installation tree]
	./src/helpers/mkdir.sh /usr/local/apache/bin
mkdir /usr/local/apache/bin
mkdir: Cannot create directory "/usr/local/apache/bin": No such file or directory
make: *** Error code 2

make: Fatal error.
make: *** Error code 2

make: Fatal error.
Exit 2

I guess that just a "mkdir.sh $(root)" is missing. Is that okay?

    Martin

Index: Makefile.tmpl
===================================================================
RCS file: /home/cvs/apachen/Makefile.tmpl,v
retrieving revision 1.40
diff -u -r1.40 Makefile.tmpl
--- Makefile.tmpl	1998/07/12 10:55:54	1.40
+++ Makefile.tmpl	1998/07/14 15:29:13
@@ -218,6 +218,7 @@
 #   create the installation tree
 install-mktree:
 	@echo "===> [mktree: Creating Apache installation tree]"
+	$(MKDIR) $(root)
 	$(MKDIR) $(root)$(bindir)
 	$(MKDIR) $(root)$(sbindir)
 	$(MKDIR) $(root)$(libexecdir)


-- 
| S I E M E N S |  <Martin.Kraemer@mch.sni.de>  |      Siemens Nixdorf
| ------------- |   Voice: +49-89-636-46021     |  Informationssysteme AG
| N I X D O R F |   FAX:   +49-89-636-44994     |   81730 Munich, Germany
~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request

Mime
View raw message