diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2020-05-02 15:15:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-02 15:15:27 (GMT) |
commit | b7226eb0b76dd867917c6f66fd68fe6f8da01d9c (patch) | |
tree | 565e5ed96a7535c46d83fcac9a55176d2db7c12f /Makefile.pre.in | |
parent | 531d1e541284bfd7944f8c66a5e8c3c3234afaff (diff) | |
download | cpython-b7226eb0b76dd867917c6f66fd68fe6f8da01d9c.zip cpython-b7226eb0b76dd867917c6f66fd68fe6f8da01d9c.tar.gz cpython-b7226eb0b76dd867917c6f66fd68fe6f8da01d9c.tar.bz2 |
Call $(MKDIR_P) before regenerating the PEG meta-parser (GH-19861)
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 2b0b1b2..3cb8b84 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -823,6 +823,7 @@ regen-grammar: regen-token .PHONY: regen-pegen-metaparser regen-pegen-metaparser: + @$(MKDIR_P) $(srcdir)/Tools/peg_generator/pegen PYTHONPATH=$(srcdir)/Tools/peg_generator $(PYTHON_FOR_REGEN) -m pegen -q python \ $(srcdir)/Tools/peg_generator/pegen/metagrammar.gram \ -o $(srcdir)/Tools/peg_generator/pegen/grammar_parser.py.new |