A maxdepth of two will crush all temp files in the build directories. Do not mess with other stuff, especially if users are building bundled software inside a contrib/dist directory under the main tree.
Signed-off-by: Mihai Moldovan <[email protected]> --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index 30c12dc..19d83db 100755
--- a/Makefile
+++ b/Makefile
@@ -41,10 +41,10 @@ build_man:
${MAKE} -f Makefile.man2html build
clean: clean_client clean_plugin clean_man
- find . -type f -name '*.o' -exec rm -vf {} +
- find . -type f -name 'moc_*.cpp' -exec rm -vf {} +
- find . -type f -name 'ui_*.h' -exec rm -vf {} +
- find . -type f -name 'qrc_*.cpp' -exec rm -vf {} +
+ find . -type f -maxdepth 2 -name '*.o' -exec rm -vf {} +
+ find . -type f -maxdepth 2 -name 'moc_*.cpp' -exec rm -vf {} +
+ find . -type f -maxdepth 2 -name 'ui_*.h' -exec rm -vf {} +
+ find . -type f -maxdepth 2 -name 'qrc_*.cpp' -exec rm -vf {} +
rm -f x2goclient
rm -f x2goclient.tag
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ X2Go-Dev mailing list [email protected] https://lists.berlios.de/mailman/listinfo/x2go-dev
