Logtalk 2.25.0 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1288 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -2,43 +2,48 @@
|
||||
|
||||
## =================================================================
|
||||
## Logtalk - Object oriented extension to Prolog
|
||||
## Release 2.24.0
|
||||
## Release 2.25.0
|
||||
##
|
||||
## Copyright (c) 1998-2005 Paulo Moura. All Rights Reserved.
|
||||
## =================================================================
|
||||
|
||||
echo
|
||||
echo "Installing Logtalk..."
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
prefix=/usr/local
|
||||
else
|
||||
prefix="$1"
|
||||
fi
|
||||
|
||||
rm -rf $prefix/lgt2240
|
||||
echo
|
||||
echo "Installing Logtalk on $prefix ..."
|
||||
echo
|
||||
|
||||
rm -rf $prefix/lgt2250
|
||||
rm -f $prefix/logtalk
|
||||
|
||||
mkdir $prefix/lgt2240
|
||||
mkdir $prefix/lgt2250
|
||||
|
||||
cd ..
|
||||
cp -R * $prefix/lgt2240
|
||||
cp -R * $prefix/lgt2250
|
||||
|
||||
cd $prefix
|
||||
chmod -R go-w,a+r lgt2240
|
||||
chmod a+x lgt2240
|
||||
chmod a+x lgt2240/scripts/*.sh
|
||||
chmod a+x lgt2240/xml/*.sh
|
||||
ln -sf lgt2240 logtalk
|
||||
chmod -R go-w,a+r lgt2250
|
||||
chmod a+x lgt2250
|
||||
chmod a+x lgt2250/scripts/*.sh
|
||||
chmod a+x lgt2250/xml/*.sh
|
||||
ln -sf lgt2250 logtalk
|
||||
|
||||
mkdir -p bin
|
||||
cd bin
|
||||
ln -sf ../lgt2240/scripts/cplgtdirs.sh cplgtdirs
|
||||
ln -sf ../lgt2240/xml/lgt2pdf.sh lgt2pdf
|
||||
ln -sf ../lgt2240/xml/lgt2html.sh lgt2html
|
||||
ln -sf ../lgt2240/xml/lgt2xml.sh lgt2xml
|
||||
ln -sf ../logtalk/scripts/cplgtdirs.sh cplgtdirs
|
||||
ln -sf ../logtalk/xml/lgt2pdf.sh lgt2pdf
|
||||
ln -sf ../logtalk/xml/lgt2html.sh lgt2html
|
||||
ln -sf ../logtalk/xml/lgt2xml.sh lgt2xml
|
||||
|
||||
echo "Logtalk installation completed."
|
||||
echo "Logtalk basic installation completed. See the INSTALL file for details"
|
||||
echo "on customizing your working environment."
|
||||
echo
|
||||
echo "You may want to run some of the Prolog integration scripts, which you"
|
||||
echo "will find on the same directory as this installer script."
|
||||
echo
|
||||
echo "Users should define the environment variable LOGTALKHOME pointing"
|
||||
echo "to $prefix/logtalk and then run the shell script cplgtdirs"
|
||||
|
Reference in New Issue
Block a user