]> granicus.if.org Git - python/commitdiff
add parsetok.h as a dependency - previously, changing this file doesn't
authorAnthony Baxter <anthonybaxter@gmail.com>
Fri, 12 Jan 2007 09:35:56 +0000 (09:35 +0000)
committerAnthony Baxter <anthonybaxter@gmail.com>
Fri, 12 Jan 2007 09:35:56 +0000 (09:35 +0000)
cause the right files to be rebuilt.

Makefile.pre.in

index 4ba5d857246dd1d4584e66103e1738a37ca16f3c..1452398849605f6361ce80704bc4ecf0a383b558 100644 (file)
@@ -483,6 +483,8 @@ Parser/metagrammar.o:       $(srcdir)/Parser/metagrammar.c
 
 Parser/tokenizer_pgen.o:       $(srcdir)/Parser/tokenizer.c
 
+Parser/pgenmain.o:     $(srcdir)/Include/parsetok.h
+
 $(AST_H): $(AST_ASDL) $(ASDLGEN_FILES)
        $(ASDLGEN) -h $(AST_H_DIR) $(AST_ASDL)
 
@@ -535,6 +537,7 @@ PYTHON_HEADERS= \
                Include/moduleobject.h \
                Include/object.h \
                Include/objimpl.h \
+               Include/parsetok.h \
                Include/patchlevel.h \
                Include/pyarena.h \
                Include/pydebug.h \