[PATCH] bootstrap: Add special case for clean command

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Feb 13 12:40:58 UTC 2020


The testsuites/ada/sptests/sp19/Makefile was added to document how
sptest.adb is generated.  However, this Makefile is in the way of
./bootstrap -c.  Add an exception.
---
 bootstrap | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bootstrap b/bootstrap
index 7ed592d435..b3da39383b 100755
--- a/bootstrap
+++ b/bootstrap
@@ -315,7 +315,7 @@ clean)
   find . -name 'config.status' -print | xargs rm -f
   find . -name 'config.log' -print | xargs rm -f
   find . -name 'config.cache' -print | xargs rm -f
-  find . -name 'Makefile' -print | xargs rm -f
+  find . -name 'Makefile' -and -not -path ./testsuites/ada/sptests/sp19/Makefile -print | xargs rm -f
   find . -name '.deps' -print | xargs rm -rf
   find . -name '.libs' -print | xargs rm -rf
   find . -name 'stamp-h.in' | xargs rm -rf
-- 
2.16.4



More information about the devel mailing list