#!/bin/sh
-# Copyright (C) 2009-2010 EDF R&D
+# Copyright (C) 2009-2012 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-rm -rf autom4te.cache aclocal.m4 configure make_config
+
+rm -rf autom4te.cache aclocal.m4 configure
+rm -f salome_adm/unix/config_files/* salome_adm/unix/SALOMEconfig.h.in
find . -name "*~" -print -exec rm {} \;
find . -name "*.pyc" -print -exec rm {} \;
-#exit
-# ==================== ON SORT AVANT
-
-find bin -name Makefile.in | xargs rm -f
-find doc -name Makefile.in | xargs rm -f
-find idl -name Makefile.in | xargs rm -f
-find resources -name Makefile.in | xargs rm -f
-find salome_adm -name Makefile.in | xargs rm -f
-find src -name Makefile.in | xargs rm -f
-rm -f Makefile.in
+find . -name "Makefile.in" -print -exec rm {} \;