Workaround for name conflict with WanT, courtesy of Alin Marin Elena

git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11254 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
giannozz 2014-11-07 13:24:01 +00:00
parent 9a5eef87b4
commit e4c1aa9709
1 changed files with 7 additions and 1 deletions

View File

@ -177,12 +177,18 @@ inst :
fi ; \
done )
# Contains workaround for name conflicts (dos.x and bands.x) with WANT
links : bindir
( cd bin/ ; \
rm -f *.x ; \
for exe in ../*/*/*.x ../*/bin/* ; do \
if test ! -L $$exe ; then ln -fs $$exe . ; fi \
done \
done ; \
[ -f ../WANT/wannier/dos.x ] && ln -fs ../WANT/wannier/dos.x ../bin/dos_want.x ; \
[ -f ../PP/src/dos.x ] && ln -fs ../PP/src/dos.x ../bin/dos.x ; \
[ -f ../WANT/wannier/bands.x ] && ln -fs ../WANT/wannier/bands.x ../bin/bands_want.x ; \
[ -f ../PP/src/dos.x ] && ln -fs ../PP/src/bands.x ../bin/bands.x ; \
[ -f ../W90/wannier90.x ] && ln -fs ../W90/wannier90.x ../bin/wannier90.x ; \
)
#########################################################