From: Ted Lemon Date: Tue, 20 Jun 2000 20:23:53 +0000 (+0000) Subject: - Add a work. prefix to build subdirectory names so that they all wind up X-Git-Tag: V3-BETA-2-PATCH-1~137 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2c1b733b9d1e4191f40984702930a128a2d570b;p=thirdparty%2Fdhcp.git - Add a work. prefix to build subdirectory names so that they all wind up in the same place in the list. --- diff --git a/Makefile b/Makefile index b3a391a89..e6c2d1e5e 100644 --- a/Makefile +++ b/Makefile @@ -40,57 +40,57 @@ 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