From ca6083cd6165934be683c13ea74ca15c6403df60 Mon Sep 17 00:00:00 2001 From: hartmann Date: Fri, 13 Oct 2006 12:22:56 +0000 Subject: [PATCH] Remove obsolete output. git-svn-id: https://svn.dealii.org/trunk@13997 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/Makefile | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index 121649dbbf..3d7c8cab3a 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -3,14 +3,13 @@ # Common Makefile for all test directories all: base lac fe deal.II multigrid bits hp - @-if grep 'define HAVE_LIBUMFPACK' $D/base/include/base/config.h ; then \ + @-if grep -q 'define HAVE_LIBUMFPACK' $D/base/include/base/config.h ; then \ cd umfpack ; $(MAKE) ; cd .. ; \ fi - @-if grep 'define HAVE_LIBLAPACK' $D/base/include/base/config.h ; then \ + @-if grep -q 'define HAVE_LIBLAPACK' $D/base/include/base/config.h ; then \ cd lapack ; $(MAKE) ; cd .. ; \ fi @-if grep -q 'define DEAL_II_USE_PETSC' $D/base/include/base/config.h ; then \ - echo =======Report: petsc ======= ; \ cd petsc ; $(MAKE) ; cd .. ; \ fi @@ -40,11 +39,11 @@ report: echo =======Report: $$i ======= ; \ cd $$i ; $(MAKE) report ; cd .. ; \ done - @if grep 'define HAVE_LIBUMFPACK' $D/base/include/base/config.h ; then \ + @if grep -q 'define HAVE_LIBUMFPACK' $D/base/include/base/config.h ; then \ echo =======Report: umfpack ======= ; \ cd umfpack ; $(MAKE) report ; cd .. ; \ fi - @if grep 'define HAVE_LIBLAPACK' $D/base/include/base/config.h ; then \ + @if grep -q 'define HAVE_LIBLAPACK' $D/base/include/base/config.h ; then \ echo =======Report: lapack ======= ; \ cd lapack ; $(MAKE) report ; cd .. ; \ fi @@ -74,14 +73,13 @@ report+mail: # compilation of tests only, no execution of tests build: build-base build-lac build-fe build-deal.II build-multigrid build-bits build-hp - @if grep 'define HAVE_LIBUMFPACK' $D/base/include/base/config.h ; then \ + @if grep -q 'define HAVE_LIBUMFPACK' $D/base/include/base/config.h ; then \ cd umfpack ; $(MAKE) build ; cd .. ; \ fi - @if grep 'define HAVE_LIBLAPACK' $D/base/include/base/config.h ; then \ + @if grep -q 'define HAVE_LIBLAPACK' $D/base/include/base/config.h ; then \ cd lapack ; $(MAKE) build ; cd .. ; \ fi @if grep -q 'define DEAL_II_USE_PETSC' $D/base/include/base/config.h ; then \ - echo =======Report: petsc ======= ; \ cd petsc ; $(MAKE) build ; cd .. ; \ fi @@ -111,10 +109,10 @@ build-hp: # reference values output: output-base output-lac output-fe output-deal.II output-bits output-hp - @if grep 'define HAVE_LIBUMFPACK' $D/base/include/base/config.h ; then \ + @if grep -q 'define HAVE_LIBUMFPACK' $D/base/include/base/config.h ; then \ cd umfpack ; $(MAKE) output ; cd .. ; \ fi - @if grep 'define HAVE_LIBLAPACK' $D/base/include/base/config.h ; then \ + @if grep -q 'define HAVE_LIBLAPACK' $D/base/include/base/config.h ; then \ cd lapack ; $(MAKE) output ; cd .. ; \ fi @if grep -q 'define DEAL_II_USE_PETSC' $D/base/include/base/config.h ; then \ @@ -148,10 +146,10 @@ output-hp: # update/generate references refs: refs-base refs-lac refs-fe refs-deal.II refs-bits refs-hp - @if grep 'define HAVE_LIBUMFPACK' $D/base/include/base/config.h ; then \ + @if grep -q 'define HAVE_LIBUMFPACK' $D/base/include/base/config.h ; then \ cd umfpack ; $(MAKE) refs ; cd .. ; \ fi - @if grep 'define HAVE_LIBLAPACK' $D/base/include/base/config.h ; then \ + @if grep -q 'define HAVE_LIBLAPACK' $D/base/include/base/config.h ; then \ cd lapack ; $(MAKE) refs ; cd .. ; \ fi @if grep -q 'define DEAL_II_USE_PETSC' $D/base/include/base/config.h ; then \ -- 2.39.5