source:
branches/DEV_r1879_FCM/NEMOGCM/TOOLS/Fmake_bld.sh
@
1972
Last change on this file since 1972 was 1972, checked in by flavoni, 14 years ago | |
---|---|
|
|
File size: 825 bytes |
Rev | Line | |
---|---|---|
[1972] | 1 | #!/bin/bash |
2 | #set -x | |
3 | set -o posix | |
4 | #set -u | |
5 | #set -e | |
6 | #+ | |
7 | # | |
8 | # ============ | |
9 | # Fmake_bld.sh | |
10 | # ============ | |
11 | # | |
12 | # -------------------------- | |
13 | # Make build directory | |
14 | # -------------------------- | |
15 | # | |
16 | # SYNOPSIS | |
17 | # ======== | |
18 | # | |
19 | # :: | |
20 | # | |
21 | # $ Fmake_bld.sh | |
22 | # | |
23 | # | |
24 | # DESCRIPTION | |
25 | # =========== | |
26 | # | |
27 | # | |
28 | # - Make the build directory | |
29 | # - Create repositories needed : | |
30 | # | |
31 | # - BLD for compilation | |
32 | # | |
33 | # EXAMPLES | |
34 | # ======== | |
35 | # | |
36 | # :: | |
37 | # | |
38 | # $ ./Fmake_bld.sh CONFIG_NAME TMP_DIR | |
39 | # | |
40 | # | |
41 | # TODO | |
42 | # ==== | |
43 | # | |
44 | # option debug | |
45 | # | |
46 | # | |
47 | # EVOLUTIONS | |
48 | # ========== | |
49 | # | |
50 | # $Id$ | |
51 | # | |
52 | # | |
53 | # - rblod 2010-06-20T16:11:47Z | |
54 | # | |
55 | # * creation | |
56 | # | |
57 | #- | |
58 | [ ! -d ${2}/${1} ] && \mkdir ${2}/${1} | |
59 | [ ! -d ${2}/${1}/BLD ] && \mkdir ${2}/${1}/BLD | |
60 | ln -sf ${2}/${1}/BLD ${CONFIG_DIR}/${1}/BLD | |
61 | #ln -sf ${CONFIG_DIR}/${NEW_CONF}/cpp_${NEW_CONF}.fcm ${TOOLS_DIR}/cpp.fcm | |
62 | rm -f ${CONFIG_DIR}/${NEW_CONF}/BLD/fcm.bld.lock |
Note: See TracBrowser
for help on using the repository browser.