diff options
author | Sascha Schumann <sascha@apache.org> | 2000-04-30 17:50:42 +0200 |
---|---|---|
committer | Sascha Schumann <sascha@apache.org> | 2000-04-30 17:50:42 +0200 |
commit | 6c2a300d10eea63d4e04cfe59035efe61f5dad08 (patch) | |
tree | d3e4e8768310c75a9803650232b28575437ad38a /build/fastgen.sh | |
parent | We want to build in the build dir, not the src dir. (diff) | |
download | apache2-6c2a300d10eea63d4e04cfe59035efe61f5dad08.tar.xz apache2-6c2a300d10eea63d4e04cfe59035efe61f5dad08.zip |
Always create the target directory, if it does not exist. Also use the
Makefile template from the source tree.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85110 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/fastgen.sh')
-rwxr-xr-x | build/fastgen.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build/fastgen.sh b/build/fastgen.sh index f7c2f5614c..51779ce73c 100755 --- a/build/fastgen.sh +++ b/build/fastgen.sh @@ -74,6 +74,7 @@ for makefile in $@; do echo "creating $makefile" # portable dirname dir=`echo $makefile|sed 's%[^/][^/]*$%%'` + test -d "$dir/" || $mkdir_p "$dir/" (cat <<EOF top_srcdir = $top_srcdir @@ -82,6 +83,6 @@ srcdir = $top_srcdir/$dir builddir = $top_builddir/$dir VPATH = $top_srcdir/$dir EOF -)| cat - $makefile.in > $makefile +)| cat - $top_srcdir/$makefile.in > $makefile done |