From 0c8b71b00d687e30ba240b5ec20f58cefcf63e53 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sat, 7 Dec 2024 18:05:24 -0500 Subject: [PATCH] checkwps: Update the cleanall script and documentation Change-Id: I170875f2b199ec5395a8b66976a8bc17d9eb85f8 --- tools/checkwps/README | 4 +--- tools/checkwps/cleanall.sh | 4 +++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/checkwps/README b/tools/checkwps/README index a94882fdff..7f6b6d6b4e 100644 --- a/tools/checkwps/README +++ b/tools/checkwps/README @@ -10,14 +10,12 @@ To compile Just run the ./buildall.sh script - To remove all compiled files ---------------------------- ./cleanall.sh - To add a new target ------------------- -Add $target and $modelname from tools/configure to targets.txt +No action necessary, list of targets is parsed out of the configure script diff --git a/tools/checkwps/cleanall.sh b/tools/checkwps/cleanall.sh index 4b3c72bd23..321c14ead2 100755 --- a/tools/checkwps/cleanall.sh +++ b/tools/checkwps/cleanall.sh @@ -2,7 +2,9 @@ rootdir=`dirname $0` outdir=$rootdir/output -make clean # make clean the build dir first +if [ -f Makefile ] ; then + make clean # make clean the build dir first +fi rm -f autoconf.h rm -f Makefile awk -f $rootdir/parse_configure.awk $rootdir/../configure | (