Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Generate files for distribution (also adds parsedate.c)

  • Loading branch information...
commit 693207a8451d463d6c38b9b463dd842739cd9b4f 1 parent 2dd9f01
Sascha Schumann authored
Showing with 10 additions and 6 deletions.
  1. +7 −0 genfiles
  2. +3 −6 makedist
View
7 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")
View
9 makedist
@@ -108,12 +108,9 @@ done
# to install
set -x
./buildconf --copy
-cd libzend
-bison -p zend -d zend-parser.y -o zend-parser.c
-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
+
+./genfiles
+
echo "/* Dummy File */" > ext/bcmath/number.c
echo "/* Dummy File */" > ext/bcmath/number.h
Please sign in to comment.
Something went wrong with that request. Please try again.