re_parser: add pre-build target in the Makefile
authorJean Privat <jean@pryen.org>
Thu, 2 Mar 2017 01:15:37 +0000 (20:15 -0500)
committerJean Privat <jean@pryen.org>
Thu, 2 Mar 2017 01:15:37 +0000 (20:15 -0500)
Some automatic jenkins jobs expect that it this target exists, it can be
used to generate the missing .nit files

Signed-off-by: Jean Privat <jean@pryen.org>

contrib/re_parser/Makefile

index 4997227..20bd556 100644 (file)
@@ -4,6 +4,8 @@ NITUNIT=../../bin/nitunit
 
 all: re_parser re_app
 
+pre-build: grammar
+
 nitcc:
        cd ../nitcc && make nitcc