Logtalk 2.20.0 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1114 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
## =================================================================
|
||||
## Logtalk - Object oriented extension to Prolog
|
||||
## Release 2.20.0
|
||||
##
|
||||
## Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
|
||||
## =================================================================
|
||||
|
||||
echo
|
||||
echo "Installing Logtalk..."
|
||||
|
||||
@@ -9,27 +16,30 @@ else
|
||||
prefix="$1"
|
||||
fi
|
||||
|
||||
rm -rf $prefix/lgt2191
|
||||
rm -rf $prefix/lgt2200
|
||||
rm -f $prefix/logtalk
|
||||
|
||||
mkdir $prefix/lgt2191
|
||||
mkdir $prefix/lgt2200
|
||||
|
||||
cd ..
|
||||
cp -R * $prefix/lgt2191
|
||||
cp -R * $prefix/lgt2200
|
||||
|
||||
cd $prefix
|
||||
chmod -R go-w,a+r lgt2191
|
||||
chmod a+x lgt2191
|
||||
chmod a+x lgt2191/misc/*.sh
|
||||
chmod a+x lgt2191/xml/*.sh
|
||||
ln -sf lgt2191 logtalk
|
||||
chmod -R go-w,a+r lgt2200
|
||||
chmod a+x lgt2200
|
||||
chmod a+x lgt2200/misc/*.sh
|
||||
chmod a+x lgt2200/xml/*.sh
|
||||
ln -sf lgt2200 logtalk
|
||||
|
||||
cd bin
|
||||
ln -sf ../lgt2191/misc/cplgtdirs.sh cplgtdirs.sh
|
||||
ln -sf ../lgt2200/misc/cplgtdirs.sh cplgtdirs
|
||||
ln -sf ../lgt2200/xml/lgt2pdf.sh lgt2pdf
|
||||
ln -sf ../lgt2200/xml/lgt2html.sh lgt2html
|
||||
|
||||
echo "Installation completed."
|
||||
echo "Logtalk installation completed."
|
||||
echo
|
||||
echo "Users should define the environment variable LOGTALKHOME pointing"
|
||||
echo "to $prefix/logtalk and then run the shell script cplgtdirs.sh in"
|
||||
echo "to $prefix/logtalk and then run the shell script cplgtdirs in"
|
||||
echo "order to make a local copy of the Logtalk examples, library, and"
|
||||
echo "xml directories in ~/logtalk."
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user