forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8338 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
f35b83be0b
commit
8b99b24914
|
@ -11,8 +11,11 @@ if (test $1 = 1) then
|
|||
fi
|
||||
|
||||
if (test -e ../Makefile.package.settings) then
|
||||
sed -i -e '/^include.*kim.*$/d' ../Makefile.package.settings
|
||||
sed -i '4 i include ..\/..\/lib\/kim\/Makefile.lammps' ../Makefile.package.settings
|
||||
sed -i -e '/^include.*KIM.*$/d' ../Makefile.package.settings
|
||||
# multiline form needed for BSD sed on Macs
|
||||
sed -i '4 i \
|
||||
include KIM\/Makefile.lammps\
|
||||
' ../Makefile.package.settings
|
||||
fi
|
||||
|
||||
cp pair_kim.cpp ..
|
||||
|
@ -25,7 +28,7 @@ elif (test $1 = 0) then
|
|||
fi
|
||||
|
||||
if (test -e ../Makefile.package.settings) then
|
||||
sed -i -e '/^include.*kim.*$/d' ../Makefile.package.settings
|
||||
sed -i -e '/^include.*KIM.*$/d' ../Makefile.package.settings
|
||||
fi
|
||||
|
||||
rm -f ../pair_kim.cpp
|
||||
|
|
|
@ -10,10 +10,10 @@ if (test $1 = 1) then
|
|||
fi
|
||||
|
||||
if (test -e ../Makefile.package.settings) then
|
||||
sed -i -e '/^include.*molfile.*$/d' ../Makefile.package.settings
|
||||
sed -i -e '/^include.*USER-MOLFILE.*$/d' ../Makefile.package.settings
|
||||
# multiline form needed for BSD sed on Macs
|
||||
sed -i '4 i \
|
||||
include ..\/..\/lib\/molfile\/Makefile.lammps\
|
||||
include USER-MOLFILE\/Makefile.lammps\
|
||||
' ../Makefile.package.settings
|
||||
fi
|
||||
|
||||
|
@ -35,7 +35,7 @@ elif (test $1 = 0) then
|
|||
fi
|
||||
|
||||
if (test -e ../Makefile.package.settings) then
|
||||
sed -i -e '/^include.*molfile.*$/d' ../Makefile.package.settings
|
||||
sed -i -e '/^include.*USER-MOLFILE.*$/d' ../Makefile.package.settings
|
||||
fi
|
||||
|
||||
rm -f ../molfile_interface.cpp
|
||||
|
|
Loading…
Reference in New Issue