Skip to content

Commit 9b816d8

Browse files
committed
Automatically run zend_vm_gen.php if zend_vm_def.h changes
1 parent c386b1f commit 9b816d8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Zend/Makefile.frag

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,8 @@ $(srcdir)/zend_ini_parser.c: $(srcdir)/zend_ini_parser.y
2828

2929
$(srcdir)/zend_ini_scanner.c: $(srcdir)/zend_ini_scanner.l
3030
@(cd $(top_srcdir); $(RE2C) $(RE2C_FLAGS) --no-generation-date --case-inverted -cbdFt Zend/zend_ini_scanner_defs.h -oZend/zend_ini_scanner.c Zend/zend_ini_scanner.l)
31+
32+
$(srcdir)/zend_vm_execute.h: $(srcdir)/zend_vm_def.h $(srcdir)/zend_vm_execute.skl $(srcdir)/zend_vm_gen.php
33+
@if test ! -z "$(PHP)" && test -x "$(PHP)"; then \
34+
$(PHP) $(srcdir)/zend_vm_gen.php; \
35+
fi;

0 commit comments

Comments
 (0)