Skip to content

Commit

Permalink
Generate files for distribution (also adds parsedate.c)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sascha Schumann committed Oct 5, 1999
1 parent 2dd9f01 commit 693207a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
7 changes: 7 additions & 0 deletions genfiles
@@ -0,0 +1,7 @@
#! /bin/sh

STD='make -f Makefile.am LEX=flex YACC="bison -y" srcdir=.'

(cd libzend && eval "$STD zend-parser.c zend-scanner.c zend-scanner-cc.cc")
eval "$STD configuration-parser.c configuration-scanner.c"
(cd ext/standard && eval "$STD parsedate.c")
9 changes: 3 additions & 6 deletions makedist
Expand Up @@ -108,12 +108,9 @@ done
# to install # to install
set -x set -x
./buildconf --copy ./buildconf --copy
cd libzend
bison -p zend -d zend-parser.y -o zend-parser.c ./genfiles
flex -Pzend -ozend-scanner.c -i zend-scanner.l
cd ..
bison -p cfg -d configuration-parser.y -o configuration-parser.c
flex -Pcfg -oconfiguration-scanner.c -i configuration-scanner.l
echo "/* Dummy File */" > ext/bcmath/number.c echo "/* Dummy File */" > ext/bcmath/number.c
echo "/* Dummy File */" > ext/bcmath/number.h echo "/* Dummy File */" > ext/bcmath/number.h


Expand Down

0 comments on commit 693207a

Please sign in to comment.