cvs: php-gtk / README makedist

From: Date: Thu, 01 Mar 2001 17:01:38 +0000
Subject: cvs: php-gtk / README makedist
Groups: php.gtk 
Request: Send a blank email to php-gtk+get-80@lists.php.net to get a copy of this message
andrei Thu Mar 1 09:01:38 2001 EDT Modified files: /php-gtk README makedist Log: * Fixing makedist. * Updating README to assuage certain qualms people may have about those "Could not write.." messages. Index: php-gtk/README diff -u php-gtk/README:1.1 php-gtk/README:1.2 --- php-gtk/README:1.1 Thu Mar 1 08:40:21 2001 +++ php-gtk/README Thu Mar 1 09:01:38 2001 @@ -32,9 +32,12 @@ './configure'. It will check that you have proper version of GTK+ and other files required for compilation and create the Makefile's. -Finally, run 'make' to compile the extension. If the compilation is successful, -run 'make install' to install the extension into your default PHP extension -directory (usually /usr/local/lib/php/extensions). +Finally, run 'make' to compile the extension. Some source files are generated +from .defs files by the code generator. If you see messages like "Could not +write...", that just means that certain GTK+ objects or features are not yet +supported. If the compilation is successful, run 'make install' to install the +extension into your default PHP extension directory (usually +/usr/local/lib/php/extensions). To test the extension, try running the example scripts in the test/ directory, especially gtk.php. These are also good for showing how the extension can be Index: php-gtk/makedist diff -u php-gtk/makedist:1.2 php-gtk/makedist:1.3 --- php-gtk/makedist:1.2 Thu Mar 1 08:47:55 2001 +++ php-gtk/makedist Thu Mar 1 09:01:38 2001 @@ -25,7 +25,7 @@ # Written by Stig Bakken <ssb@guardian.no> 1997-05-28. # Modified by Andrei Zmievski <andrei@php.net> 2001-03-01 # -# $Id: makedist,v 1.2 2001/03/01 16:47:55 andrei Exp $ +# $Id: makedist,v 1.3 2001/03/01 17:01:38 andrei Exp $ # if test "$#" != "2"; then @@ -74,24 +74,24 @@ mkdir -p $DIRPATH || exit 2 fi -#cd $DIRPATH || exit 3 - # Export PHP-GTK $ECHO_N "makedist: exporting tag '$CVSTAG' from '$PHPGTKMOD'...$ECHO_C" cvs -z 9 -d $PHPROOT -Q export -d $DIR -r $CVSTAG $PHPGTKMOD || exit 4 echo "" +cd $DIR || exit 3 + # remove CVS stuff... -find . \( \( -name CVS -type d \) -o -name .cvsignore \) -exec rm -rf {} \; +find . \( \( -name makedist \) -o -name .cvsignore \) -exec rm -rf {} \; cd $MY_OLDPWD $ECHO_N "makedist: making gzipped tar archive...$ECHO_C" -tar cf $ARCHIVE $PKG-$VER || exit 8 -gzip -9 $ARCHIVE || exit 9 +tar cf $ARCHIVE $PKG-$VER || exit 4 +gzip -9 $ARCHIVE || exit 5 echo "" $ECHO_N "makedist: cleaning up...$ECHO_C" -rm -rf $DIRPATH || exit 10 +rm -rf $DIRPATH || exit 6 echo "" exit 0

« previous php.gtk (#80) next »