/[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.11.2.11 by edhill, Sat Oct 4 13:56:40 2003 UTC revision 1.12 by edhill, Thu Oct 9 04:19:20 2003 UTC
# Line 49  expand_pkg_groups() { Line 49  expand_pkg_groups() {
49          cat ./p1.tmp | awk '(NF>2 && $2==":"){ print $0 }' > ./p2.tmp          cat ./p1.tmp | awk '(NF>2 && $2==":"){ print $0 }' > ./p2.tmp
50          matched=0          matched=0
51          for i in $PACKAGES ; do          for i in $PACKAGES ; do
52              line=`grep $i ./p2.tmp`              line=`grep "^ *$i" ./p2.tmp`
53              RETVAL=$?              RETVAL=$?
54              if test "x$RETVAL" = x0 ; then              if test "x$RETVAL" = x0 ; then
55                  matched=1                  matched=1
# Line 327  EXECUTABLE= Line 327  EXECUTABLE=
327  EXEHOOK=  EXEHOOK=
328  EXEDIR=  EXEDIR=
329  PACKAGES_CONF=  PACKAGES_CONF=
330    IEEE=
331  if test "x$MITGCM_IEEE" != x ; then  if test "x$MITGCM_IEEE" != x ; then
332      IEEE=$MITGCM_IEEE      IEEE=$MITGCM_IEEE
333  fi  fi
# Line 496  for ac_option ; do Line 497  for ac_option ; do
497            
498  done  done
499    
500    if test -f ./.genmakerc ; then
501        echo
502        echo "WARNING: genmake2 has detected a copy of the old-style \"./.genmakerc\""
503        echo "  file.  This file format is no longer supported.  Please see:"
504        echo
505        echo "    http://mitgcm.org/devel_HOWTO/"
506        echo
507        echo "  for directions on how to setup and use the new \"genmake2\" input"
508        echo "  files and send an email to MITgcm-support@mitgcm.org if you want help."
509        echo
510    fi
511    
512  if test "x${ROOTDIR}" = x ; then  if test "x${ROOTDIR}" = x ; then
513      if test "${PWD##/*/}" = "bin" -a -d ../model -a -d ../eesup -a -d ../pkg ; then      if test "${PWD##/*/}" = "bin" -a -d ../model -a -d ../eesup -a -d ../pkg ; then
514          ROOTDIR=".."          ROOTDIR=".."

Legend:
Removed from v.1.11.2.11  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.22