]> mj.ucw.cz Git - libucw.git/blobdiff - build/Maketop
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
[libucw.git] / build / Maketop
index 8c005b92044efe69be596c8817d2eea0a68e937c..e984f2049538a2ce99a5a7c4b5b7e1dc20ed1564 100644 (file)
@@ -59,10 +59,11 @@ dust::
        rm -f allocs.tmp cscope.out TAGS
 
 clean:: dust
-       rm -rf obj tests run/{bin,lib,include,.tree-stamp}
+       rm -rf `find obj -mindepth 1 -maxdepth 1 -not \( -name config.mk -o -name autoconf.h \)`
+       rm -rf tests run/{bin,lib,include,.tree-stamp}
 
 distclean:: clean
-       rm -rf run
+       rm -rf obj run
 
 testclean::
        rm -f `find obj -name "*.test"`