Browse Source

* Binary files are also installed.

michael 26 years ago
parent
commit
c1f28473c2
1 changed files with 11 additions and 0 deletions
  1. 11 0
      install/install.sh

+ 11 - 0
install/install.sh

@@ -77,6 +77,7 @@ LIBDIR=/usr/lib/fpc/$VERSION
 SRCDIR=/usr/src/fpc-$VERSION
 SRCDIR=/usr/src/fpc-$VERSION
 DOCDIR=/usr/doc/fpc-$VERSION
 DOCDIR=/usr/doc/fpc-$VERSION
 DEMODIR=$DOCDIR/demo
 DEMODIR=$DOCDIR/demo
+UTILDIR=/usr/local/bin
 
 
 HERE=`pwd`
 HERE=`pwd`
 if checkpath /usr/local/bin; then
 if checkpath /usr/local/bin; then
@@ -109,6 +110,16 @@ ln -sf $LIBDIR/ppc386 $EXECDIR/ppc386
 echo Done.
 echo Done.
 echo
 echo
 
 
+# Install the utilities. Optional.
+if yesno "Install utility binaries"; then
+  ask "Install utility binaries in" UTILDIR
+  echo Installing utility binaries in $UTILDIR ...
+  makedirhierarch $UTILDIR
+  unztar bins.tar.gz $UTILDIR
+  echo Done.
+fi
+echo
+
 # Install the sources. Optional.
 # Install the sources. Optional.
 if yesno "Install sources"; then
 if yesno "Install sources"; then
   ask "Install sources in" SRCDIR
   ask "Install sources in" SRCDIR