git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8338 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2012-06-19 19:56:29 +00:00
parent f35b83be0b
commit 8b99b24914
2 changed files with 9 additions and 6 deletions

View File

@ -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

View File

@ -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