From f2c1b733b9d1e4191f40984702930a128a2d570b Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Tue, 20 Jun 2000 20:23:53 +0000 Subject: [PATCH] - Add a work. prefix to build subdirectory names so that they all wind up in the same place in the list. --- Makefile | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) 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 -- 2.47.2