Ticket #14832: patch-makefile.diff

File patch-makefile.diff, 778 bytes (added by mmoll@…, 17 years ago)
  • makefile

    old new  
    1616# Basic targets to build PETSc libraries.
    1717# all: builds the c, fortran, and f90 libraries
    1818all:
    19         @if [ "`whoami`" = "root" ]; then \
    20       echo "********************************************************************"; \
    21       echo "  Do not run configure as root, or using sudo.";\
    22       echo "    That should be reserved for installation";\
    23       echo "********************************************************************"; \
    24       exit 1; fi
    2519        @${OMAKE}  PETSC_ARCH=${PETSC_ARCH}  chkpetsc_dir
    2620        -@${OMAKE} all_build 2>&1 | tee make_log_${PETSC_ARCH}
    2721        -@egrep -i "( error | error:)" make_log_${PETSC_ARCH} > /dev/null; if [ "$$?" = "0" ]; then \