source: modipsl/trunk/util/clr_make @ 728

Last change on this file since 728 was 728, checked in by bellier, 14 years ago

New version with environmental management

  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 729 bytes
Line 
1#!/bin/ksh
2# $Id$
3#---------------------------------------------------------------------
4#- Remove Makefiles and data according to an environment
5#---------------------------------------------------------------------
6d_n=$(dirname ${0});
7#-
8l_rep=$(find ${d_n}/.. -name AA_make -print)
9#-
10echo "";
11echo "Remove Makefiles and data according to an environment";
12echo "";
13#-
14for i in $l_rep
15do
16  j=${i%/AA_make}
17  echo "Remove in $j ...";
18  rm -f ${j}/Makefile
19done
20echo "Remove ${d_n}/.host_target";
21rm -f ${d_n}/.host_target
22#-
23l_prism=${d_n}'/../prism' 
24if [ -d ${l_prism} ]; then
25  echo "Remove COMP_oasis3 and COMP_libs" 
26  rm -f ${l_prism}/src/mod/oasis3/COMP_oasis3*
27  rm -f ${l_prism}/util/COMP_libs*
28fi
29echo "";
30#-
31exit 0;
Note: See TracBrowser for help on using the repository browser.