From b31fdf8d039c6d884d3b6b0ea4d81710e0617c8b Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 5 Aug 1998 15:10:18 +0000 Subject: Added print of the order in which the directories are preinstalled. --- c/Makefile.in | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'c') diff --git a/c/Makefile.in b/c/Makefile.in index 539e7bdca0..83f27ac40d 100644 --- a/c/Makefile.in +++ b/c/Makefile.in @@ -50,10 +50,18 @@ CREATE_DIRS = \ # Make all/install must include 'env' # if something is added to TARGET_VARIANTS, then account for it here make_src_makefiles: Makefile.in Makefile - find . -name Makefile -exec grep -q ^preinstall {} \; -print > make_src_makefiles + -find . -name Makefile \ + -exec grep -q ^preinstall {} \; -print > make_src_makefiles.tmp + -grep tools make_src_makefiles.tmp > make_src_makefiles + -grep -v tools make_src_makefiles.tmp >> make_src_makefiles + -rm make_src_makefiles.tmp + pre_install_src: env make_src_makefiles cd build-tools/scripts; $(MAKE) + @echo "Order of preinstall directories" + cat make_src_makefiles + @echo CURRDIR=`pwd`; \ for i in `cat make_src_makefiles` ; do \ DIR=`dirname $$i`; \ -- cgit v1.2.3