Re: Patches for alpha release
| From: | Scott Mattocks | Date: | Wed, 03 May 2006 18:02:08 +0000 |
| Subject: | Re: Patches for alpha release | ||
| References: | 1 2 3 4 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-2814@lists.php.net to get a copy of this message | ||
Andrei Zmievski wrote:
Packaging script should be very easy to modify, so it's not an obstacle.Not sure if this is the best way to do it but worked for me: [START PATCH] --- ../php-gtk/makedist 2005-04-18 06:48:30.000000000 -0400 +++ ./makedist 2006-05-03 13:52:52.000000000 -0400 @@ -87,6 +87,19 @@ cd $MY_OLDPWD $ECHO_N "makedist: making gzipped tar archive...$ECHO_C" tar cf $ARCHIVE $PKG-$VER || exit 4 + +# Create the gen_* files. +cd $DIR +./buildconf > /dev/null 2>&1 +./configure > /dev/null 2>&1 +make -s > /dev/null 2>&1 + +# Go back to the old pwd. +cd $MY_OLDPWD + +# Add the gen_* files to the archive. +tar rf $ARCHIVE $PKG-$VER/ext/*/gen_*.c $PKG-$VER/ext/*/gen_*.h + gzip -9 $ARCHIVE || exit 5 echo "" [END PATCH] There's a new line after echo "". Not sure if leaving it out will throw off the patch or not. Thanks, Scott