1402 |
fi |
fi |
1403 |
|
|
1404 |
# Find the MITgcm ${THISVER} |
# Find the MITgcm ${THISVER} |
1405 |
if test -f "${ROOTDIR}/doc/tag-index" ; then |
version_file="${ROOTDIR}/doc/tag-index" |
1406 |
THISVER=`grep '^checkpoint' ${ROOTDIR}/doc/tag-index | head -1` |
if test -f $version_file ; then |
1407 |
|
THISVER=`grep '^checkpoint' $version_file | head -1` |
1408 |
|
#- remove ./BUILD_INFO.h file if older than version_file |
1409 |
|
if test -f ./BUILD_INFO.h -a ./BUILD_INFO.h -ot $version_file ; then |
1410 |
|
echo " remove ./BUILD_INFO.h (older than ${version_file})" |
1411 |
|
rm -f ./BUILD_INFO.h |
1412 |
|
fi |
1413 |
fi |
fi |
1414 |
|
|
1415 |
if test "x$MAKEFILE" = x ; then |
if test "x$MAKEFILE" = x ; then |