Makefile template from the source tree.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85110
13f79535-47bb-0310-9956-
ffa450edef68
echo "creating $makefile"
# portable dirname
dir=`echo $makefile|sed 's%[^/][^/]*$%%'`
+ test -d "$dir/" || $mkdir_p "$dir/"
(cat <<EOF
top_srcdir = $top_srcdir
builddir = $top_builddir/$dir
VPATH = $top_srcdir/$dir
EOF
-)| cat - $makefile.in > $makefile
+)| cat - $top_srcdir/$makefile.in > $makefile
done