add ACFDT directory in the list checked for dependencies

look for dependencies only if a directory exists


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@7011 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
degironc 2010-08-23 13:12:29 +00:00
parent 95ba9a2468
commit 4d3e329b8f
1 changed files with 22 additions and 22 deletions

View File

@ -13,7 +13,7 @@ if test $# = 0
then
dirs=" Modules clib PW CPV flib pwtools upftools PP PWCOND \
Gamma PH D3 atomic GIPAW VdW EE XSpectra \
GWW//gww GWW//pw4gww GWW//head"
GWW//gww GWW//pw4gww GWW//head ACFDT"
else
dirs=$*
@ -31,7 +31,7 @@ do
DEPENDS="$DEPENDS ../Modules " ;;
PW | CPV )
DEPENDS="$DEPENDS ../Modules ../EE" ;;
PP | PWCOND | Gamma | PH | GIPAW | pwtools )
PP | PWCOND | Gamma | PH | GIPAW | pwtools | ACFDT )
DEPENDS="$DEPENDS ../Modules ../EE ../PW" ;;
D3 | VdW )
DEPENDS="$DEPENDS ../Modules ../EE ../PW ../PH" ;;
@ -47,14 +47,13 @@ do
../../PW ../../EE ../../PH ../pw4gww " ;;
esac
# generate dependencies file
# generate dependencies file (only for directories that are present)
if test -d $TOPDIR/../$DIR
then
cd $TOPDIR/../$DIR
$TOPDIR/moduledep.sh $DEPENDS > make.depend
$TOPDIR/includedep.sh $DEPENDS >> make.depend
fi
# handle special cases
sed '/@\/cineca\/prod\/hpm\/include\/f_hpm.h@/d' \
@ -77,6 +76,7 @@ do
else
echo directory $DIR : ok
fi
fi
done
if test "$notfound" = ""
then