]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
- Add a work. prefix to build subdirectory names so that they all wind
authorTed Lemon <source@isc.org>
Tue, 20 Jun 2000 20:24:26 +0000 (20:24 +0000)
committerTed Lemon <source@isc.org>
Tue, 20 Jun 2000 20:24:26 +0000 (20:24 +0000)
  up in the same place in the list.

configure

index 93fbfb4dafb6c793386441aec2997cecf6c13b35..7aaf02a70bb40bfa8873c47634f9fa1b39e9875f 100755 (executable)
--- a/configure
+++ b/configure
@@ -127,18 +127,21 @@ if [ x$major != x ] && [ x$minor != x ]; then
 fi
 
 if [ ! -d ${sysname} ]; then
-  mkdir $sysname
+  mkdir work.$sysname
 fi
 
 for foo in . client server relay common omapip dhcpctl minires; do
-       if [ ! -d ${sysname}/$foo ]; then
-         mkdir ${sysname}/$foo
+       if [ ! -d work.${sysname}/$foo ]; then
+         mkdir work.${sysname}/$foo
        fi
        (sed $majversubst $minversubst \
              -e "/^##--${sysname}--/,/^##--${sysname}--/s/^#//" \
                <Makefile.conf; cat site.conf; \
                echo "TOP = ../.."; cat $foo/Makefile.dist)     \
-                               >${sysname}/$foo/Makefile
+                               >work.${sysname}/$foo/Makefile
 done
 
+# Make the link tree in which to actually build.
+make links
+
 exit 0