[Python-checkins] CVS: python/dist/src Makefile.pre.in,1.21,1.22

Neil Schemenauer nascheme@users.sourceforge.net
Mon, 26 Feb 2001 18:19:19 -0800


Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv1547

Modified Files:
	Makefile.pre.in 
Log Message:
Generate grammar source files in srcdir.  Ignore the error if they cannot
be created (perhaps the source directory is read-only).


Index: Makefile.pre.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/Makefile.pre.in,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -r1.21 -r1.22
*** Makefile.pre.in	2001/02/19 04:35:11	1.21
--- Makefile.pre.in	2001/02/27 02:19:16	1.22
***************
*** 158,163 ****
  ##########################################################################
  # Grammar
! GRAMMAR_H=	Include/graminit.h
! GRAMMAR_C=	Python/graminit.c
  GRAMMAR_INPUT=	$(srcdir)/Grammar/Grammar
  
--- 158,163 ----
  ##########################################################################
  # Grammar
! GRAMMAR_H=	$(srcdir)/Include/graminit.h
! GRAMMAR_C=	$(srcdir)/Python/graminit.c
  GRAMMAR_INPUT=	$(srcdir)/Grammar/Grammar
  
***************
*** 380,384 ****
  
  $(GRAMMAR_H) $(GRAMMAR_C): $(PGEN) $(GRAMMAR_INPUT)
! 		$(PGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C)
  
  $(PGEN):	$(PGENOBJS)
--- 380,384 ----
  
  $(GRAMMAR_H) $(GRAMMAR_C): $(PGEN) $(GRAMMAR_INPUT)
! 		-$(PGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C)
  
  $(PGEN):	$(PGENOBJS)