cvs: /php4 buildconf makedist

From: Date: Sat, 17 Jul 1999 07:22:17 +0000
Subject: cvs: /php4 buildconf makedist
Groups: php.version4 
Request: Send a blank email to php-version4+get-2159@lists.php.net to get a copy of this message
zeev Sat Jul 17 07:22:17 1999 EDT Modified files: /php4 buildconf makedist Log: Some work on makedist Index: php4/buildconf diff -u php4/buildconf:1.11 php4/buildconf:1.12 --- php4/buildconf:1.11 Mon Jun 14 11:05:55 1999 +++ php4/buildconf Sat Jul 17 07:22:17 1999 @@ -16,7 +16,7 @@ autoheader -automake --add-missing --include-deps +automake --add-missing --include-deps -copy mv configure configure.old 2>/dev/null autoconf Index: php4/makedist diff -u php4/makedist:1.1 php4/makedist:1.2 --- php4/makedist:1.1 Wed Apr 7 17:02:34 1999 +++ php4/makedist Sat Jul 17 07:22:17 1999 @@ -24,11 +24,13 @@ # # Written by Stig Bakken <ssb@guardian.no> 1997-05-28. # -# $Id: makedist,v 1.1 1999/04/07 21:02:34 zeev Exp $ +# $Id: makedist,v 1.2 1999/07/17 11:22:17 zeev Exp $ # CVSROOT=:pserver:cvsread@cvs.php.net:/repository export CVSROOT +ZENDROOT=:pserver:cvsread@cvs.zend.com:/repository +export ZENDROOT if echo '\c' | grep -s c >/dev/null 2>&1 then @@ -61,9 +63,14 @@ # CVS release tag CVSTAG=${PKG}_$CVSVER -# should become "php3" +# should become "php4" CVSMOD=cat CVS/Repository | sed -e 's!^/[^/]*/!!' +# should become "libzend" +ZENDMOD=cat libzend/CVS/Repository | sed -e 's!^/[^/]*/!!' +# should become "TSRM" +TSRMMOD=cat TSRM/CVS/Repository | sed -e 's!^/[^/]*/!!' + if test ! -d $TMPDIR; then mkdir -p $TMPDIR || exit 2 fi @@ -76,6 +83,15 @@ cd $CVSMOD || exit 5 +# Check out Zend +$ECHO_N "makedist: exporting tag '$CVSTAG' from '$ZENDMOD'...$ECHO_C" +cvs -d $ZENDROOT -Q export -r $CVSTAG $ZENDMOD || exit 4 + +# Check out TSRM +$ECHO_N "makedist: exporting tag '$CVSTAG' from '$TSRMMOD'...$ECHO_C" +cvs -d $ZENDROOT -Q export -r $CVSTAG $TSRMMOD || exit 4 + + INC="" # remove CVS stuff... @@ -91,24 +107,20 @@ # generate some files so people don't need bison, flex and autoconf # to install set -x -autoconf -bison -p php -v -d language-parser.y -flex -Pphp -olanguage-scanner.c -i language-scanner.lex -bison -p cfg -v -d configuration-parser.y -flex -Pcfg -oconfiguration-scanner.c -i configuration-scanner.lex -cd convertor -flex -i -Pphp -olanguage-scanner.c language-scanner.lex -bison -p php -v -d language-parser.y +./buildconf +cd libzend +bison -p zend -v -d zend-parser.y -o zend-parser.c +flex -Pzend -ozend-scanner.c -i zend-scanner.l cd .. +bison -p cfg -v -d configuration-parser.y -o configuration-parser.c +flex -Pcfg -oconfiguration-scanner.c -i configuration-scanner.l #perl -i -p -e 's/\r\n/\n/' *.dsw *.dsp set +x INC="$INC \ configuration-scanner.c \ -configuration-parser.tab.c configuration-parser.tab.h \ -language-scanner.c \ -language-parser.tab.c language-parser.tab.h \ +configuration-parser.c configuration-parser.h \ configure" mkdir $PKG-$VER || exit 6

« previous php.version4 (#2159) next »