/[MITgcm]/MITgcm/tools/genmake2
ViewVC logotype

Diff of /MITgcm/tools/genmake2

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.178 by utke, Tue Nov 18 22:11:07 2008 UTC revision 1.179 by jmc, Fri Nov 21 16:15:00 2008 UTC
# Line 1402  if test ! -d ${ROOTDIR} ; then Line 1402  if test ! -d ${ROOTDIR} ; then
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

Legend:
Removed from v.1.178  
changed lines
  Added in v.1.179

  ViewVC Help
Powered by ViewVC 1.1.22