]> granicus.if.org Git - php/commitdiff
Ensure the SQL parser is regenerated after changes.
authorJohannes Schlüter <johannes@php.net>
Wed, 18 Apr 2012 20:45:59 +0000 (22:45 +0200)
committerJohannes Schlüter <johannes@php.net>
Wed, 18 Apr 2012 20:48:49 +0000 (22:48 +0200)
ext/pdo/Makefile.frag

index 283a6e24330f79a9c068238cf2263ec86eb95061..98f5c5f2ad7dd3de9dc14270c98a2c7404cd6833 100644 (file)
@@ -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