Salome HOME
add the template command
[tools/sat.git] / data / templates / Cpp_Template / root_clean
1 #!/bin/bash
2
3
4 CONF_DIR=`echo $0 | sed -e "s,[^/]*$,,;s,/$,,;s,^$,.,"`
5 cd ${CONF_DIR}
6
7 TO_CLEAN=
8 TO_CLEAN=${TO_CLEAN}' aclocal.m4'
9 TO_CLEAN=${TO_CLEAN}' autom4te*'
10 TO_CLEAN=${TO_CLEAN}' configure'
11 TO_CLEAN=${TO_CLEAN}' configure.in'
12 TO_CLEAN=${TO_CLEAN}' install-sh missing mkinstalldirs'
13 TO_CLEAN=${TO_CLEAN}' py-compile'
14 TO_CLEAN=${TO_CLEAN}' build_configure.log'
15 TO_CLEAN=${TO_CLEAN}' depcomp'
16 TO_CLEAN=${TO_CLEAN}' config.guess config.sub ltmain.sh'
17 TO_CLEAN=${TO_CLEAN}' Makefile.am.list'
18 # TO_CLEAN=${TO_CLEAN}' COPYING INSTALL'
19
20 rm -rf $TO_CLEAN > /dev/null
21
22 l=`find . -name "Makefile.in"`
23
24 if test X"$l" != X ; then
25     rm -f $l
26 fi
27
28 l=`find . -name "*~"`
29
30 if test X"$l" != X ; then
31     rm -f $l
32 fi