ENH: Cleaned-up build of multiple PV readers

This commit is contained in:
andy
2013-04-11 09:52:45 +01:00
parent a97ff291c0
commit 4f22868d76
2 changed files with 34 additions and 24 deletions

View File

@ -2,6 +2,8 @@
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # run from this directory
#set -x #set -x
if [ "$ParaView_VERSION" == "3.98.1" ]
then
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ] if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
then then
[ -n "$PV_PLUGIN_PATH" ] || { [ -n "$PV_PLUGIN_PATH" ] || {
@ -18,5 +20,8 @@ then
else else
echo "ERROR: ParaView not found in $ParaView_DIR" echo "ERROR: ParaView not found in $ParaView_DIR"
fi fi
else
echo "WARN: PV398 readers not building: ParaView_VERSION=$ParaView_VERSION"
fi
# ----------------------------------------------------------------- end-of-file # ----------------------------------------------------------------- end-of-file

View File

@ -2,6 +2,8 @@
cd ${0%/*} || exit 1 # run from this directory cd ${0%/*} || exit 1 # run from this directory
#set -x #set -x
if [ "$ParaView_VERSION" != "3.98.1" ]
then
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ] if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]
then then
[ -n "$PV_PLUGIN_PATH" ] || { [ -n "$PV_PLUGIN_PATH" ] || {
@ -18,5 +20,8 @@ then
else else
echo "ERROR: ParaView not found in $ParaView_DIR" echo "ERROR: ParaView not found in $ParaView_DIR"
fi fi
else
echo "WARN: PV3 readers not building: ParaView_VERSION=$ParaView_VERSION"
fi
# ----------------------------------------------------------------- end-of-file # ----------------------------------------------------------------- end-of-file