git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9448 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
# do not install child files if parent does not exist
|
||||
|
||||
for file in *_omp.cpp *_omp.h ; do
|
||||
ofile=`echo $file | sed -e 's,\(.*\)_omp\.\(h\|cpp\),\1.\2,'`
|
||||
ofile=`echo $file | sed -e 's,\(.*\)_omp\.h,\1.h,' -e 's,\(.*\)_omp\.cpp,\1.cpp,'`
|
||||
if (test $1 = 1) then
|
||||
if (test $file = "thr_omp.h") || (test $file = "thr_omp.cpp") then
|
||||
: # always install those files.
|
||||
|
||||
@ -9,7 +9,7 @@ for file in *_omp.cpp *_omp.h ; do
|
||||
continue
|
||||
fi
|
||||
# derive name of non-OpenMP version
|
||||
ofile=`echo $file | sed -e 's,\(.*\)_omp\.\(h\|cpp\),\1.\2,'`
|
||||
ofile=`echo $file | sed -e 's,\(.*\)_omp\.h,\1.h,' -e 's,\(.*\)_omp\.cpp,\1.cpp,'`
|
||||
if (test ! -e ../$ofile) then
|
||||
if (test -e ../$file) then
|
||||
echo " removing src/$file"
|
||||
|
||||
Reference in New Issue
Block a user