[Python-checkins] python/dist/src Makefile.pre.in,,

bcannon at users.sourceforge.net bcannon at users.sourceforge.net
Mon Mar 21 00:26:48 CET 2005

Update of /cvsroot/python/python/dist/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13192

Modified Files:
      Tag: ast-branch
Log Message:
Regenerate Python/Python-ast.c and Include/Python-ast.h when
Parser/asdl.py or Parser/asdl_c.py is modified.

Should probably add SPARK dependencies as well but not sure if it needs to be
used to explicitly regen anything.

Index: Makefile.pre.in
RCS file: /cvsroot/python/python/dist/src/Makefile.pre.in,v
retrieving revision
retrieving revision
diff -u -d -r1.86.2.5 -r1.86.2.6
--- Makefile.pre.in	7 Jan 2005 06:56:36 -0000
+++ Makefile.pre.in	20 Mar 2005 23:26:45 -0000
@@ -222,6 +222,7 @@
 AST_C=		$(srcdir)/Python/Python-ast.c
 AST_ASDL=	$(srcdir)/Parser/Python.asdl
+ASDLGEN_FILES=	$(srcdir)/Parser/asdl.py $(srcdir)/Parser/asdl_c.py
 # XXX Note that a build now requires Python exist before the build starts
 ASDLGEN=	$(srcdir)/Parser/asdl_c.py -h $(srcdir)/Include -c $(srcdir)/Python
@@ -469,7 +470,7 @@
 Parser/tokenizer_pgen.o:	$(srcdir)/Parser/tokenizer.c
-$(AST_H) $(AST_C): $(AST_ASDL)
 Python/compile.o Python/symtable.o: $(GRAMMAR_H) $(AST_H)

More information about the Python-checkins mailing list