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

Makefile

index b3a391a890d3355cd9f53ccc7f3f9345141a0827..e6c2d1e5e23525034962392f4237f073407d6e2c 100644 (file)
--- a/Makefile
+++ b/Makefile
 
 all:
        @sysname=`./configure --print-sysname`; \
-        if [ ! -d $$sysname ]; then \
+        if [ ! -d work.$$sysname ]; then \
           echo No build directory for $$sysname - please run ./configure.; \
        else \
-          (cd $$sysname; make all); \
+          (cd work.$$sysname; make all); \
        fi
 
 install:
        @sysname=`./configure --print-sysname`; \
-        if [ ! -d $$sysname ]; then \
+        if [ ! -d work.$$sysname ]; then \
           echo No build directory for $$sysname - please run ./configure.; \
        else \
-          (cd $$sysname; make install); \
+          (cd work.$$sysname; make install); \
        fi
 
 depend:
        @sysname=`./configure --print-sysname`; \
-        if [ ! -d $$sysname ]; then \
+        if [ ! -d work.$$sysname ]; then \
           echo No build directory for $$sysname - please run ./configure.; \
        else \
-          (cd $$sysname; make depend); \
+          (cd work.$$sysname; make depend); \
        fi
 
 clean:
        @sysname=`./configure --print-sysname`; \
-        if [ ! -d $$sysname ]; then \
+        if [ ! -d work.$$sysname ]; then \
           echo No build directory for $$sysname - please run ./configure.; \
        else \
-          (cd $$sysname; make clean); \
+          (cd work.$$sysname; make clean); \
        fi
 
 realclean:
        @sysname=`./configure --print-sysname`; \
-        if [ ! -d $$sysname ]; then \
+        if [ ! -d work.$$sysname ]; then \
           echo No build directory for $$sysname - please run ./configure.; \
        else \
-          (cd $$sysname; make realclean); \
+          (cd work.$$sysname; make realclean); \
        fi
 
 distclean:
        @sysname=`./configure --print-sysname`; \
-        if [ ! -d $$sysname ]; then \
+        if [ ! -d work.$$sysname ]; then \
           echo No build directory for $$sysname - please run ./configure.; \
        else \
-          (cd $$sysname; make distclean); \
+          (cd work.$$sysname; make distclean); \
        fi
 
 links:
        @sysname=`./configure --print-sysname`; \
-        if [ ! -d $$sysname ]; then \
+        if [ ! -d work.$$sysname ]; then \
           echo No build directory for $$sysname - please run ./configure.; \
        else \
-          (cd $$sysname; make links); \
+          (cd work.$$sysname; make links); \
        fi