]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Isolate configuration information from Makefiles
authorTed Lemon <source@isc.org>
Sat, 22 Feb 1997 14:20:26 +0000 (14:20 +0000)
committerTed Lemon <source@isc.org>
Sat, 22 Feb 1997 14:20:26 +0000 (14:20 +0000)
configure

index 69f606eb7474c53c111cf0c24647177a15a99797..b6194da54587062342cb31a800bce4c0f9ba7648 100755 (executable)
--- a/configure
+++ b/configure
@@ -64,9 +64,10 @@ fi
 
 echo "System Type: $sysname"
 
-for foo in . client server common; do
-       (cd $foo; sed -e "/^##--${sysname}--/,/^##--${sysname}--/s/^#//" \
-               <Makefile.dist >Makefile)
+for foo in . client server relay common; do
+        (sed -e "/^##--${sysname}--/,/^##--${sysname}--/s/^#//" \
+               <Makefile.conf; cat $foo/Makefile.dist) \
+                               >$foo/Makefile
 done
 
 exit 0