[Python-checkins] CVS: python/dist/src Makefile.pre.in,1.17,1.18
Neil Schemenauer
nascheme@users.sourceforge.net
Thu, 15 Feb 2001 19:59:55 -0800
Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv2895
Modified Files:
Makefile.pre.in
Log Message:
Build grammar files in their proper place rather than moving them. This should
allow building with a read-only source tree (although I haven't tried it).
Index: Makefile.pre.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/Makefile.pre.in,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** Makefile.pre.in 2001/02/16 03:36:53 1.17
--- Makefile.pre.in 2001/02/16 03:59:53 1.18
***************
*** 171,176 ****
##########################################################################
# Grammar
! GRAMMAR_H= $(srcdir)/Include/graminit.h
! GRAMMAR_C= $(srcdir)/Python/graminit.c
GRAMMAR_INPUT= $(srcdir)/Grammar/Grammar
--- 171,176 ----
##########################################################################
# Grammar
! GRAMMAR_H= Include/graminit.h
! GRAMMAR_C= Python/graminit.c
GRAMMAR_INPUT= $(srcdir)/Grammar/Grammar
***************
*** 393,399 ****
$(GRAMMAR_H) $(GRAMMAR_C): $(PGEN) $(GRAMMAR_INPUT)
! $(PGEN) $(GRAMMAR_INPUT)
! mv graminit.h $(GRAMMAR_H)
! mv graminit.c $(GRAMMAR_C)
$(PGEN): $(PGENOBJS)
--- 393,397 ----
$(GRAMMAR_H) $(GRAMMAR_C): $(PGEN) $(GRAMMAR_INPUT)
! $(PGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C)
$(PGEN): $(PGENOBJS)