Logtalk 2.22.0 files.

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1191 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
pmoura
2004-11-29 20:36:31 +00:00
parent 2feba3d528
commit d6bbeaa734
165 changed files with 1120 additions and 861 deletions

View File

@@ -2,7 +2,7 @@
## =================================================================
## Logtalk - Object oriented extension to Prolog
## Release 2.21.6
## Release 2.22.0
##
## Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
## =================================================================
@@ -20,21 +20,16 @@ else
else
prefix="$1"
fi
if ! [ -d bin ]
then
mkdir bin
fi
mkdir -p bin
cd bin
cp ../configs/gnu.config gnu.pl
echo ":- built_in." > logtalkgp.pl
cat ../compiler/logtalk.pl >> logtalkgp.pl
gplc -o gplgt gnu.pl logtalkgp.pl
echo ":- built_in." > logtalk_gp.pl
cat ../compiler/logtalk.pl >> logtalk_gp.pl
echo "#/bin/sh" > gplgt
echo "gprolog --init-goal \"['$LOGTALKUSER/configs/gnu.config', '$LOGTALKHOME/bin/logtalk_gp.pl', '$LOGTALKUSER/libpaths/libpaths.pl']\"" >> gplgt
chmod a+x gplgt
ln -sf $LOGTALKHOME/bin/gplgt $prefix/bin/gplgt
rm gnu.pl
rm logtalkgp.pl
echo "Done. A link to the script was been created in $prefix/bin."
echo "Users should define the environment variable LOGTALKHOME in"
echo "order to use the script."
echo "Users should define the environment variables LOGTALKHOME and"
echo "LOGTALKUSER in order to use the script."
echo
fi