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:
pmoura
2005-05-23 23:33:41 +00:00
parent 0b420f5493
commit 72b037275f
291 changed files with 2828 additions and 1675 deletions

View File

@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
Release 2.24.0
Release 2.25.0
Copyright (c) 1998-2005 Paulo Moura. All Rights Reserved.
=================================================================
@@ -24,9 +24,9 @@ lgt_install.js
setting the LOGTALKHOME system environment variable and the LOGTALKUSER
user environment variable (for the user performing the installation), by
creating a new program group named "Logtalk" in the Windows Start Menu,
and by adding the directories %LOGTALKHOME%\scripts and %LOGTALKHOME%\xml to
the system path environment variable (must be run from this directory by
a user with administration privileges after decompressing the Logtalk
and by adding the directories %LOGTALKHOME%\scripts and %LOGTALKHOME%\xml
to the system path environment variable (must be run from this directory
by a user with administration privileges after decompressing the Logtalk
distribution into its final destination; you will need to restart your
computer in order to use the items created in the "Logtalk" program group
due to the definition of new system environment variables)
@@ -122,6 +122,19 @@ make_xsblgt.sh
all occurrences of the LOGTALKUSER environment variable with its value;
the new file should also use the .P extension)
makeall_lgt.sh
simple shell script for running all the make_*lgt.sh shell scripts in
sequence (except the make_qplgt.sh as this script implies modifications to
the Logtalk files which are not necessary for the other Prolog compilers);
note that this script will not print any of the special instructions or
remarks that you may get when running the make_*lgt.sh shell scripts
individually
makeall_lgt.js
simple shell script for running all the make_*lgt.js shell scripts in
sequence; note that this script will not print any of the special
instructions or remarks that you may get when running the make_*lgt.js
shell scripts individually
These scripts require the environment variable LOGTALKHOME (pointing to the
Logtalk installation directory) to be defined. The *.sh shell scripts
accept as an optional argument a prefix for the location of a link to the

View File

@@ -2,7 +2,7 @@
## =================================================================
## Logtalk - Object oriented extension to Prolog
## Release 2.24.0
## Release 2.25.0
##
## Copyright (c) 1998-2005 Paulo Moura. All Rights Reserved.
## =================================================================

View File

@@ -1,6 +1,6 @@
// =================================================================
// Logtalk - Object oriented extension to Prolog
// Release 2.24.0
// Release 2.25.0
//
// Copyright (c) 1998-2005 Paulo Moura. All Rights Reserved.
// =================================================================

View File

@@ -2,7 +2,7 @@
## =================================================================
## Logtalk - Object oriented extension to Prolog
## Release 2.24.0
## Release 2.25.0
##
## Copyright (c) 1998-2005 Paulo Moura. All Rights Reserved.
## =================================================================
@@ -52,6 +52,7 @@ cp -RL "$LOGTALKHOME"/library "$LOGTALKUSER"/
cp -RL "$LOGTALKHOME"/xml "$LOGTALKUSER"/
chmod -R u+w "$LOGTALKUSER"
ln -sf "$LOGTALKHOME"/BIBLIOGRAPHY "$LOGTALKUSER"/BIBLIOGRAPHY
ln -sf "$LOGTALKHOME"/INSTALL "$LOGTALKUSER"/INSTALL
ln -sf "$LOGTALKHOME"/LICENSE "$LOGTALKUSER"/LICENSE
ln -sf "$LOGTALKHOME"/QUICK_START "$LOGTALKUSER"/QUICK_START
ln -sf "$LOGTALKHOME"/README "$LOGTALKUSER"/README

View File

@@ -0,0 +1,8 @@
Package: logtalk
Version: 2.25.0
Section: languages
Priority: optional
Architecture: all
Essential: no
Maintainer: Paulo Moura <pmoura@logtalk.org>
Description: Logtalk is an open source object-oriented extension to the Prolog programming language. Integrating logic programming with object-oriented and event-driven programming, it is compatible with most Prolog compilers. It supports both prototypes and classes. In addition, it supports component-based programming through category-based composition.

View File

@@ -0,0 +1 @@
2.0

View File

View File

@@ -1,6 +1,6 @@
// =================================================================
// Logtalk - Object oriented extension to Prolog
// Release 2.24.0
// Release 2.25.0
//
// Copyright (c) 1998-2005 Paulo Moura. All Rights Reserved.
// =================================================================
@@ -46,6 +46,7 @@ WScript.Echo("variable.");
WScript.Echo("");
FSObject.CopyFile(WshShell.CurrentDirectory + "\\BIBLIOGRAPHY", WshShell.CurrentDirectory + "\\BIBLIOGRAPHY.txt");
FSObject.CopyFile(WshShell.CurrentDirectory + "\\INSTALL", WshShell.CurrentDirectory + "\\INSTALL.txt");
FSObject.CopyFile(WshShell.CurrentDirectory + "\\LICENSE", WshShell.CurrentDirectory + "\\LICENSE.txt");
FSObject.CopyFile(WshShell.CurrentDirectory + "\\QUICK_START", WshShell.CurrentDirectory + "\\QUICK_START.txt");
FSObject.CopyFile(WshShell.CurrentDirectory + "\\README", WshShell.CurrentDirectory + "\\README.txt");
@@ -74,6 +75,12 @@ link.Description = "Open Logtalk ReadMe";
link.TargetPath = WshShell.CurrentDirectory + "\\README.txt";
link.Save();
link = WshShell.CreateShortcut(ProgramsPath + "\\Logtalk\\Logtalk Install and configuration.lnk");
link.Description = "Open Logtalk Install and configuration";
link.TargetPath = WshShell.CurrentDirectory + "\\INSTALL.txt";
link.Save();
link = WshShell.CreateShortcut(ProgramsPath + "\\Logtalk\\Logtalk Quick Start.lnk");
link.Description = "Open Logtalk Quick Start";
@@ -104,9 +111,14 @@ link.Description = "Open Logtalk Upgrading instructions";
link.TargetPath = WshShell.CurrentDirectory + "\\UPGRADING.txt";
link.Save();
WScript.Echo('Logtalk installation completed. You will need to restart in order');
WScript.Echo('to activate the new system environment variables and use the items');
WScript.Echo('in the new Logtalk program group.');
WScript.Echo('Logtalk basic installation completed. You will need to restart in order');
WScript.Echo('to activate the new system environment variables and use the items in');
WScript.Echo('the new Logtalk program group. See the Install and configuration file');
WScript.Echo('for details on customizing your working environment.');
WScript.Echo('');
WScript.Echo('After restarting your computer, you may want to run some of the Prolog');
WScript.Echo('integration scripts, which you will find on the same directory as this');
WScript.Echo('installer script.');
WScript.Echo('');
WScript.Echo('Users should run the batch script cplgtdirs in order to copy the');
WScript.Echo('Logtalk user-modifiable files to their home directories. The path');

View File

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

View File

@@ -1,11 +1,11 @@
Name: logtalk
Summary: Logtalk - Open source object-oriented extension to Prolog
Version: 2.24.0
Version: 2.25.0
Release: 1
License: Artistic License 2.0
Group: Development/Languages
Packager: Paulo Moura <pmoura@logtalk.org>
Source: http://www.logtalk.org/files/lgt2240.tgz
Source: http://www.logtalk.org/files/lgt2250.tgz
BuildArchitectures: noarch
URL: http://www.logtalk.org/
Prefix: /usr/local
@@ -13,45 +13,45 @@ AutoReqProv: no
%description
Logtalk is an open source object-oriented extension to the Prolog programming language. Integrating logic programming with object-oriented and event-driven programming, it is compatible with most Prolog compilers. It supports both prototypes and classes. In addition, it supports component-based programming through category-based composition.
%prep
%setup -n lgt2240
%setup -n lgt2250
%build
%install
rm -rf /usr/local/lgt2240
rm -rf /usr/local/lgt2250
rm -f /usr/local/logtalk
mkdir /usr/local/lgt2240
cp -R * /usr/local/lgt2240
mkdir /usr/local/lgt2250
cp -R * /usr/local/lgt2250
cd /usr/local
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
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
%clean
%files
%defattr(-,root,users)
%doc /usr/local/lgt2240/BIBLIOGRAPHY
%doc /usr/local/lgt2240/INSTALL
%doc /usr/local/lgt2240/LICENSE
%doc /usr/local/lgt2240/QUICK_START
%doc /usr/local/lgt2240/README
%doc /usr/local/lgt2240/RELEASE_NOTES
%doc /usr/local/lgt2240/UPGRADING
/usr/local/lgt2240/compiler
/usr/local/lgt2240/configs
/usr/local/lgt2240/contributions
/usr/local/lgt2240/examples
/usr/local/lgt2240/libpaths
/usr/local/lgt2240/library
%docdir /usr/local/lgt2240/manuals
/usr/local/lgt2240/manuals
/usr/local/lgt2240/scripts
/usr/local/lgt2240/wenv
/usr/local/lgt2240/xml
%doc /usr/local/lgt2250/BIBLIOGRAPHY
%doc /usr/local/lgt2250/INSTALL
%doc /usr/local/lgt2250/LICENSE
%doc /usr/local/lgt2250/QUICK_START
%doc /usr/local/lgt2250/README
%doc /usr/local/lgt2250/RELEASE_NOTES
%doc /usr/local/lgt2250/UPGRADING
/usr/local/lgt2250/compiler
/usr/local/lgt2250/configs
/usr/local/lgt2250/contributions
/usr/local/lgt2250/examples
/usr/local/lgt2250/libpaths
/usr/local/lgt2250/library
%docdir /usr/local/lgt2250/manuals
/usr/local/lgt2250/manuals
/usr/local/lgt2250/scripts
/usr/local/lgt2250/wenv
/usr/local/lgt2250/xml
/usr/local/logtalk
/usr/local/bin/cplgtdirs
/usr/local/bin/lgt2pdf

View File

@@ -1,6 +1,6 @@
// =================================================================
// Logtalk - Object oriented extension to Prolog
// Release 2.24.0
// Release 2.25.0
//
// Copyright (c) 1998-2005 Paulo Moura. All Rights Reserved.
// =================================================================

View File

@@ -2,7 +2,7 @@
## =================================================================
## Logtalk - Object oriented extension to Prolog
## Release 2.24.0
## Release 2.25.0
##
## Copyright (c) 1998-2005 Paulo Moura. All Rights Reserved.
## =================================================================
@@ -13,6 +13,8 @@ echo "Creating a script named ciaolgt for running Logtalk with CIAO..."
if ! [ "$LOGTALKHOME" ]
then
echo "The environment variable LOGTALKHOME must be defined first!"
echo
exit 1
else
cd "$LOGTALKHOME"
if [ -z "$1" ]; then

View File

@@ -1,6 +1,6 @@
// =================================================================
// Logtalk - Object oriented extension to Prolog
// Release 2.24.0
// Release 2.25.0
//
// Copyright (c) 1998-2005 Paulo Moura. All Rights Reserved.
// =================================================================

View File

@@ -2,7 +2,7 @@
## =================================================================
## Logtalk - Object oriented extension to Prolog
## Release 2.24.0
## Release 2.25.0
##
## Copyright (c) 1998-2005 Paulo Moura. All Rights Reserved.
## =================================================================
@@ -13,6 +13,8 @@ echo "Creating a script named eclipselgt for running Logtalk with ECLiPSe..."
if ! [ "$LOGTALKHOME" ]
then
echo "The environment variable LOGTALKHOME must be defined first!"
echo
exit 1
else
cd "$LOGTALKHOME"
if [ -z "$1" ]; then

View File

@@ -1,6 +1,6 @@
// =================================================================
// Logtalk - Object oriented extension to Prolog
// Release 2.24.0
// Release 2.25.0
//
// Copyright (c) 1998-2005 Paulo Moura. All Rights Reserved.
// =================================================================

View File

@@ -2,7 +2,7 @@
## =================================================================
## Logtalk - Object oriented extension to Prolog
## Release 2.24.0
## Release 2.25.0
##
## Copyright (c) 1998-2005 Paulo Moura. All Rights Reserved.
## =================================================================
@@ -13,6 +13,8 @@ echo "Creating a script named gplgt for running Logtalk with GNU Prolog..."
if ! [ "$LOGTALKHOME" ]
then
echo "The environment variable LOGTALKHOME must be defined first!"
echo
exit 1
else
cd "$LOGTALKHOME"
if [ -z "$1" ]; then

View File

@@ -1,6 +1,6 @@
// =================================================================
// Logtalk - Object oriented extension to Prolog
// Release 2.24.0
// Release 2.25.0
//
// Copyright (c) 1998-2005 Paulo Moura. All Rights Reserved.
// =================================================================

View File

@@ -2,7 +2,7 @@
## =================================================================
## Logtalk - Object oriented extension to Prolog
## Release 2.24.0
## Release 2.25.0
##
## Copyright (c) 1998-2005 Paulo Moura. All Rights Reserved.
## =================================================================
@@ -13,6 +13,8 @@ echo "Creating a script named plclgt for running Logtalk with K-Prolog..."
if ! [ "$LOGTALKHOME" ]
then
echo "The environment variable LOGTALKHOME must be defined first!"
echo
exit 1
else
cd "$LOGTALKHOME"
if [ -z "$1" ]; then

View File

@@ -2,7 +2,7 @@
## =================================================================
## Logtalk - Object oriented extension to Prolog
## Release 2.24.0
## Release 2.25.0
##
## Copyright (c) 1998-2005 Paulo Moura. All Rights Reserved.
## =================================================================
@@ -13,6 +13,8 @@ echo "Creating a script named qplgt for running Logtalk with Qu-Prolog..."
if ! [ "$LOGTALKHOME" ]
then
echo "The environment variable LOGTALKHOME must be defined first!"
echo
exit 1
else
cd "$LOGTALKHOME"
if [ -z "$1" ]; then
@@ -22,7 +24,6 @@ else
fi
mkdir -p bin
find . -name "*.lgt" -exec perl -pi -e "s/version is (\d)\.(\d)/version is '\1\.\2'/" {} \;
find . -name "*.mlgt" -exec perl -pi -e "s/version is (\d)\.(\d)/version is '\1\.\2'/" {} \;
cd configs
cp qu.config qu.ql
echo "fcompile('qu.ql', [assemble_only(true)]), load(qu). \

View File

@@ -1,6 +1,6 @@
// =================================================================
// Logtalk - Object oriented extension to Prolog
// Release 2.24.0
// Release 2.25.0
//
// Copyright (c) 1998-2005 Paulo Moura. All Rights Reserved.
// =================================================================

View File

@@ -2,7 +2,7 @@
## =================================================================
## Logtalk - Object oriented extension to Prolog
## Release 2.24.0
## Release 2.25.0
##
## Copyright (c) 1998-2005 Paulo Moura. All Rights Reserved.
## =================================================================
@@ -13,6 +13,8 @@ echo "Creating a script named sicstuslgt for running Logtalk with SICStus Prolog
if ! [ "$LOGTALKHOME" ]
then
echo "The environment variable LOGTALKHOME must be defined first!"
echo
exit 1
else
cd "$LOGTALKHOME"
if [ -z "$1" ]; then

View File

@@ -1,6 +1,6 @@
// =================================================================
// Logtalk - Object oriented extension to Prolog
// Release 2.24.0
// Release 2.25.0
//
// Copyright (c) 1998-2005 Paulo Moura. All Rights Reserved.
// =================================================================

View File

@@ -2,7 +2,7 @@
## =================================================================
## Logtalk - Object oriented extension to Prolog
## Release 2.24.0
## Release 2.25.0
##
## Copyright (c) 1998-2005 Paulo Moura. All Rights Reserved.
## =================================================================
@@ -13,6 +13,8 @@ echo "Creating a script named swilgt for running Logtalk with SWI-Prolog..."
if ! [ "$LOGTALKHOME" ]
then
echo "The environment variable LOGTALKHOME must be defined first!"
echo
exit 1
else
cd "$LOGTALKHOME"
if [ -z "$1" ]; then

View File

@@ -2,7 +2,7 @@
## =================================================================
## Logtalk - Object oriented extension to Prolog
## Release 2.24.0
## Release 2.25.0
##
## Copyright (c) 1998-2005 Paulo Moura. All Rights Reserved.
## =================================================================
@@ -13,6 +13,8 @@ echo "Creating a script named xsblgt for running Logtalk with XSB..."
if ! [ "$LOGTALKHOME" ]
then
echo "The environment variable LOGTALKHOME must be defined first!"
echo
exit 1
else
cd "$LOGTALKHOME"
if [ -z "$1" ]; then

View File

@@ -1,6 +1,6 @@
// =================================================================
// Logtalk - Object oriented extension to Prolog
// Release 2.24.0
// Release 2.25.0
//
// Copyright (c) 1998-2005 Paulo Moura. All Rights Reserved.
// =================================================================

View File

@@ -2,7 +2,7 @@
## =================================================================
## Logtalk - Object oriented extension to Prolog
## Release 2.24.0
## Release 2.25.0
##
## Copyright (c) 1998-2005 Paulo Moura. All Rights Reserved.
## =================================================================
@@ -13,6 +13,8 @@ echo "Creating a script named yaplgt for running Logtalk with YAP..."
if ! [ "$LOGTALKHOME" ]
then
echo "The environment variable LOGTALKHOME must be defined first!"
echo
exit 1
else
cd "$LOGTALKHOME"
if [ -z "$1" ]; then

View File

@@ -0,0 +1,58 @@
// =================================================================
// Logtalk - Object oriented extension to Prolog
// Release 2.25.0
//
// Copyright (c) 1998-2005 Paulo Moura. All Rights Reserved.
// =================================================================
WScript.Echo('');
WScript.Echo('Creating shortcuts for running Logtalk with selected Prolog compilers...');
WScript.Echo('');
var WshShell = new ActiveXObject("WScript.Shell");
var WshSystemEnv = WshShell.Environment("SYSTEM");
var WshUserEnv = WshShell.Environment("USER");
if (WshSystemEnv.Item("LOGTALKHOME"))
logtalk_home = WshSystemEnv.Item("LOGTALKHOME");
else if (WshUserEnv.Item("LOGTALKHOME"))
logtalk_home = WshUserEnv.Item("LOGTALKHOME")
else {
WScript.Echo("Error! The environment variable LOGTALKHOME must be defined first!");
usage_help();
WScript.Quit(1);
}
WScript.Echo('Creating shortcut Logtalk - CIAO...');
WshShell.Run("cscript %LOGTALKHOME%\\scripts\\make_ciaolgt.js", true);
WScript.Echo('Creating shortcut Logtalk - ECLiPSe...');
WshShell.Run("cscript %LOGTALKHOME%\\scripts\\make_eclipselgt.js", true);
WScript.Echo('Creating shortcut Logtalk - GNU Prolog...');
WshShell.Run("cscript %LOGTALKHOME%\\scripts\\make_gplgt.js", true);
WScript.Echo('Creating shortcut Logtalk - K-Prolog...');
WshShell.Run("cscript %LOGTALKHOME%\\scripts\\make_plclgt.js", true);
WScript.Echo('Creating shortcut Logtalk - SICStus...');
WshShell.Run("cscript %LOGTALKHOME%\\scripts\\make_sicstuslgt.js", true);
WScript.Echo('Creating shortcut Logtalk - SWI-Prolog...');
WshShell.Run("cscript %LOGTALKHOME%\\scripts\\make_swilgt.js", true);
WScript.Echo('Creating shortcut Logtalk - YAP...');
WshShell.Run("cscript %LOGTALKHOME%\\scripts\\make_yaplgt.js", true);
WScript.Echo('');
WScript.Echo('Done. Links to the created scripts was been added to the Start Menu');
WScript.Echo('Programs. Make sure that the environment variables LOGTALKHOME and');
WScript.Echo('LOGTALKUSER are defined for all users wishing to use the shortcuts.');
WScript.Echo('');
WScript.Echo('If you get an unexpected failure to create a shortcut for one of the');
WScript.Echo('above Prolog compilers, make sure that the Prolog compiler is properly');
WScript.Echo('installed, consult the NOTES file on the scripts directory and try to');
WScript.Echo('run the corresponding script individually.');
WScript.Echo('');
WScript.Quit(0);

83
Logtalk/scripts/makeall_lgt.sh Executable file
View File

@@ -0,0 +1,83 @@
#! /bin/sh
## =================================================================
## Logtalk - Object oriented extension to Prolog
## Release 2.25.0
##
## Copyright (c) 1998-2005 Paulo Moura. All Rights Reserved.
## =================================================================
echo
echo "Creating scripts for running Logtalk with selected Prolog compilers..."
echo
if ! [ "$LOGTALKHOME" ]
then
echo "The environment variable LOGTALKHOME must be defined first!"
echo
exit 1
else
if [ -z "$1" ]; then
prefix=/usr/local
else
prefix="$1"
fi
./make_ciaolgt.sh $prefix > /dev/null
if [ $? ]; then
echo "ciaolgt script created"
else
echo "ciaolgt script creation failed"
fi
./make_eclipselgt.sh $prefix > /dev/null
if [ $? ]; then
echo "eclipselgt script created"
else
echo "eclipselgt script creation failed"
fi
./make_gplgt.sh $prefix > /dev/null
if [ $? ]; then
echo "gplgt script created"
else
echo "gplgt script creation failed"
fi
./make_plclgt.sh $prefix > /dev/null
if [ $? ]; then
echo "plclgt script created"
else
echo "plclgt script creation failed"
fi
./make_sicstuslgt.sh $prefix > /dev/null
if [ $? ]; then
echo "sicstuslgt script created"
else
echo "sicstuslgt script creation failed"
fi
./make_swilgt.sh $prefix > /dev/null
if [ $? ]; then
echo "swilgt script created"
else
echo "swilgt script creation failed"
fi
./make_xsblgt.sh $prefix > /dev/null
if [ $? ]; then
echo "xsblgt script created"
else
echo "xsblgt script creation failed"
fi
./make_yaplgt.sh $prefix > /dev/null
if [ $? ]; then
echo "yaplgt script created"
else
echo "yaplgt script creation failed"
fi
echo
echo "Done. Links to the created scripts can be found on $prefix/bin."
echo "Make sure that the Prolog compilers are also available on your "
echo "execution path. Users should define the environment variables "
echo "LOGTALKHOME and LOGTALKUSER in order to use the scripts."
echo
echo "If you get an unexpected failure to create a shortcut for one of the"
echo "above Prolog compilers, please consult the NOTES file on the scripts"
echo "directory or try to run the corresponding script individually."
echo
fi