Logtalk 2.17.0 files.

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1048 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
pmoura
2004-04-25 23:57:46 +00:00
parent 91f87b3109
commit dcf184d930
123 changed files with 2113 additions and 1163 deletions

35
Logtalk/misc/lgt_install.sh Executable file
View File

@@ -0,0 +1,35 @@
#!/bin/sh
echo
echo "Installing Logtalk..."
if [ -z "$1" ]; then
prefix=/usr/local
else
prefix="$1"
fi
rm -rf $prefix/lgt2170
rm -f $prefix/logtalk
mkdir $prefix/lgt2170
cd ..
cp -R * $prefix/lgt2170
cd $prefix
chmod -R go-w,a+r lgt2170
chmod a+x lgt2170
chmod a+x lgt2170/misc/*.sh
chmod a+x lgt2170/xml/*.sh
ln -sf lgt2170 logtalk
cd bin
ln -sf ../lgt2170/misc/cplgtdirs.sh cplgtdirs.sh
echo "Installation completed."
echo "Users should define the environment variable LOGTALKHOME pointing"
echo "to $prefix/logtalk and then run the shell script cplgtdirs.sh in"
echo "order to make a local copy of the Logtalk examples, library, and"
echo "xml directories in ~/logtalk."
echo