From: Johannes Schlüter Date: Wed, 18 Apr 2012 20:45:59 +0000 (+0200) Subject: Ensure the SQL parser is regenerated after changes. X-Git-Tag: php-5.3.14RC1~65 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dda60f3014743fcbfc1078a8e52b4d7b2e09b839;p=php Ensure the SQL parser is regenerated after changes. --- diff --git a/ext/pdo/Makefile.frag b/ext/pdo/Makefile.frag index 283a6e2433..98f5c5f2ad 100644 --- a/ext/pdo/Makefile.frag +++ b/ext/pdo/Makefile.frag @@ -4,6 +4,10 @@ PDO_HEADER_FILES= \ php_pdo.h \ php_pdo_driver.h + +$(srcdir)/pdo_sql_parser.c: $(srcdir)/pdo_sql_parser.re + (cd $(top_srcdir); $(RE2C) -o ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re) + install-pdo-headers: @echo "Installing PDO headers: $(INSTALL_ROOT)$(phpincludedir)/ext/pdo/" @$(mkinstalldirs) $(INSTALL_ROOT)$(phpincludedir)/ext/pdo