updated postflight post upgrade and README.txt

This commit is contained in:
Menelaos Karavelas 2006-07-14 11:11:50 +00:00
parent a6b0de0d19
commit 62b0f81448
3 changed files with 7 additions and 5 deletions

View File

@ -31,7 +31,7 @@ Noti
5. Run the create_macosx_installer by giving as argument the location 5. Run the create_macosx_installer by giving as argument the location
of the CGAL tarball. For example if you want to build CGAL-X.Y and of the CGAL tarball. For example if you want to build CGAL-X.Y and
the tarball is located at your home directory run: the tarball is located at your home directory run:
./create_macosx_installer ~/CGAL-X.Y.tar.gz ./create_macosx_installer ~/CGAL-X.Y.tar.gz X.Y
6. Once the script is done there should be a disk image in this directory 6. Once the script is done there should be a disk image in this directory
named CGAL-X.Y.dmg. This is your MacOSX distribution. named CGAL-X.Y.dmg. This is your MacOSX distribution.

View File

@ -1,5 +1,6 @@
#!/bin/sh #!/bin/sh
cd $2/CGAL-3.2 CGALVER=3.2.1
cd $2/CGAL-$CGALVER
QTDIR=/Developer/qt QTDIR=/Developer/qt
DYLD_LIBRARY_PATH=/Developer/qt/lib DYLD_LIBRARY_PATH=/Developer/qt/lib
export QTDIR DYLD_LIBRARY_PATH export QTDIR DYLD_LIBRARY_PATH
@ -8,5 +9,5 @@ if [ -e upgrade.cgal ]; then
exit 0 exit 0
fi fi
touch MacOSX-install.log touch MacOSX-install.log
./install_cgal -ni --CXX /usr/bin/g++ >> $2/CGAL-3.2/MacOSX-install.log ./install_cgal -ni --CXX /usr/bin/g++ >> $2/CGAL-$CGALVER/MacOSX-install.log
exit 0 exit 0

View File

@ -1,9 +1,10 @@
#!/bin/sh #!/bin/sh
cd $2/CGAL-3.2 CGALVER=3.2.1
cd $2/CGAL-$CGALVER
QTDIR=/Developer/qt QTDIR=/Developer/qt
DYLD_LIBRARY_PATH=/Developer/qt/lib DYLD_LIBRARY_PATH=/Developer/qt/lib
export QTDIR DYLD_LIBRARY_PATH export QTDIR DYLD_LIBRARY_PATH
touch upgrade.cgal touch upgrade.cgal
touch MacOSX-install.log touch MacOSX-install.log
./install_cgal -ni --CXX /usr/bin/g++ >> $2/CGAL-3.2/MacOSX-install.log ./install_cgal -ni --CXX /usr/bin/g++ >> $2/CGAL-$CGALVER/MacOSX-install.log
exit 0 exit 0