From 02e3c7108e4f822715477e3661068833346c27f2 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Wed, 6 Dec 2000 05:54:17 +0000 Subject: [PATCH] Move knowledge about doing "maintainer-clean" into script in microcode directory. --- v7/src/Makefile | 8 ++------ v7/src/microcode/Mclean.sh | 4 ++-- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/v7/src/Makefile b/v7/src/Makefile index e702141e4..6da0efee3 100644 --- a/v7/src/Makefile +++ b/v7/src/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.9 2000/12/06 05:33:27 cph Exp $ +# $Id: Makefile,v 1.10 2000/12/06 05:52:48 cph Exp $ # # Copyright (c) 2000 Massachusetts Institute of Technology # @@ -54,10 +54,6 @@ maintainer-clean: (cd $${SUBDIR} && $(MAKE) $@); \ fi; \ done - @if test ! -f microcode/Makefile && test -f microcode/configure; then \ - (cd microcode && ./configure); \ - fi - echo "making $@ in microcode" - @(cd microcode && $(MAKE) $@) + (cd microcode && ./Mclean.sh) .PHONY: all setup tags TAGS mostlyclean clean distclean maintainer-clean diff --git a/v7/src/microcode/Mclean.sh b/v7/src/microcode/Mclean.sh index e653d8843..760d97d20 100755 --- a/v7/src/microcode/Mclean.sh +++ b/v7/src/microcode/Mclean.sh @@ -1,6 +1,6 @@ #!/bin/sh -# $Id: Mclean.sh,v 1.1 2000/12/06 05:52:40 cph Exp $ +# $Id: Mclean.sh,v 1.2 2000/12/06 05:54:17 cph Exp $ # # Copyright (c) 2000 Massachusetts Institute of Technology # @@ -21,4 +21,4 @@ # Program to do "maintainer-clean" rule. test ! -f Makefile && test -f configure && ./configure -make maintainer-clean +test -f Makefile && make maintainer-clean -- 2.25.1