Logtalk 2.30.7 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1973 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -2,16 +2,20 @@
|
||||
|
||||
## ================================================================
|
||||
## Logtalk - Open source object-oriented logic programming language
|
||||
## Release 2.30.2
|
||||
## Release 2.30.7
|
||||
##
|
||||
## Copyright (c) 1998-2007 Paulo Moura. All Rights Reserved.
|
||||
## ================================================================
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
case $( uname -s ) in
|
||||
Darwin ) prefix=/opt/local;;
|
||||
* ) prefix=/usr/local;;
|
||||
esac
|
||||
if [ -f "/etc/debian_version" ]; then
|
||||
prefix=/usr
|
||||
else
|
||||
case $( uname -s ) in
|
||||
Darwin ) prefix=/opt/local;;
|
||||
* ) prefix=/usr/local;;
|
||||
esac
|
||||
fi
|
||||
mkdir -p $prefix
|
||||
else
|
||||
prefix="$1"
|
||||
@@ -29,33 +33,20 @@ echo
|
||||
|
||||
mkdir -p $prefix/share
|
||||
|
||||
rm -rf $prefix/share/lgt2302
|
||||
rm -rf $prefix/share/lgt2307
|
||||
rm -f $prefix/share/logtalk
|
||||
|
||||
mkdir $prefix/share/lgt2302
|
||||
mkdir $prefix/share/lgt2307
|
||||
|
||||
cd ..
|
||||
cp -R * $prefix/share/lgt2302
|
||||
cp -R * $prefix/share/lgt2307
|
||||
|
||||
cd $prefix/share/lgt2302
|
||||
cd $prefix/share/lgt2307
|
||||
chmod a+x scripts/cleandist.sh
|
||||
scripts/cleandist.sh
|
||||
find . -type f -print0 | xargs -0 chmod 644
|
||||
find . -type d -print0 | xargs -0 chmod 755
|
||||
chmod a+x integration/*.sh
|
||||
chmod a+x manuals/userman/*.sh
|
||||
chmod a+x manuals/refman/*.sh
|
||||
chmod a+x scripts/*.sh
|
||||
chmod a-x scripts/*.js
|
||||
chmod a+x scripts/debian/postinst
|
||||
chmod a+x scripts/debian/prerm
|
||||
chmod a+x scripts/debian/postrm
|
||||
chmod a+x scripts/linux/*.sh
|
||||
chmod a+x scripts/macosx/postflight
|
||||
chmod a+x xml/*.sh
|
||||
chmod a-x xml/*.js
|
||||
|
||||
cd ..
|
||||
ln -sf lgt2302 logtalk
|
||||
ln -sf lgt2307 logtalk
|
||||
|
||||
mkdir -p $prefix/bin
|
||||
cd $prefix/bin
|
||||
@@ -76,10 +67,11 @@ ln -sf ../share/logtalk/integration/cxlgt.sh cxlgt
|
||||
ln -sf ../share/logtalk/integration/eclipselgt.sh eclipselgt
|
||||
ln -sf ../share/logtalk/integration/gplgt.sh gplgt
|
||||
ln -sf ../share/logtalk/integration/plclgt.sh plclgt
|
||||
#ln -sf ../share/logtalk/integration/qplgt.sh qplgt
|
||||
ln -sf ../share/logtalk/integration/qplgt.sh qplgt
|
||||
ln -sf ../share/logtalk/integration/sicstuslgt.sh sicstuslgt
|
||||
ln -sf ../share/logtalk/integration/swilgt.sh swilgt
|
||||
ln -sf ../share/logtalk/integration/xsblgt.sh xsblgt
|
||||
ln -sf ../share/logtalk/integration/xsbmtlgt.sh xsbmtlgt
|
||||
ln -sf ../share/logtalk/integration/yaplgt.sh yaplgt
|
||||
|
||||
echo "The following integration scripts are installed for running Logtalk"
|
||||
@@ -91,9 +83,11 @@ echo " CxProlog: cxlgt"
|
||||
echo " ECLiPSe: eclipselgt"
|
||||
echo " GNU Prolog: gplgt"
|
||||
echo " K-Prolog: plclgt"
|
||||
echo " Qu-Prolog: qplgt"
|
||||
echo " SICStus Prolog: sicstuslgt"
|
||||
echo " SWI-Prolog: swilgt"
|
||||
echo " XSB: xsblgt (first run must use sudo)"
|
||||
echo " XSB (MT): xsbmtlgt (first run must use sudo)"
|
||||
echo " YAP: yaplgt"
|
||||
echo
|
||||
echo "The Prolog integration scripts can be found on \"$prefix/bin\"."
|
||||
|
Reference in New Issue
Block a user