]> granicus.if.org Git - python/commitdiff
'make' in Grammar too, so graminit.h and graminit.c get re-build when
authorThomas Wouters <thomas@python.org>
Fri, 11 Aug 2000 22:26:35 +0000 (22:26 +0000)
committerThomas Wouters <thomas@python.org>
Fri, 11 Aug 2000 22:26:35 +0000 (22:26 +0000)
necessary. Do Grammar after Parser because Grammar needs Parser, and not the
other way 'round. This patch doesn't bother with dependencies because it's
tricky to get right (for instance for the modules that want graminit.h,
like cPickle) and other dependencies are broken to begin with.

Makefile.in

index 3e5b631e3fdeb4b4745c817224831d700af6221f..88f4efea472cfd646ec8efc6313bb3ea3daa9548 100644 (file)
@@ -126,10 +126,10 @@ WITH=
 OPT=           @OPT@
 
 # Subdirectories where to run make recursively
-SUBDIRS=       Parser Objects Python Modules
+SUBDIRS=       Parser Grammar Objects Python Modules
 
 # Other subdirectories
-SUBDIRSTOO=    Include Lib Misc Demo Grammar
+SUBDIRSTOO=    Include Lib Misc Demo
 
 # Files and directories to be distributed
 CONFIGFILES=   configure configure.in acconfig.h config.h.in Makefile.in
@@ -195,6 +195,10 @@ libpython$(VERSION).dylib: $(LIBRARY)
 
 $(SUBDIRS):    Makefiles
 
+Grammar:
+               cd Grammar ; $(MAKE) OPT="$(OPT)" VERSION="$(VERSION)" \
+                       prefix="$(prefix)" exec_prefix="$(exec_prefix)" all
+
 Parser:
                cd Parser ; $(MAKE) OPT="$(OPT)" VERSION="$(VERSION)" \
                        prefix="$(prefix)" exec_prefix="$(exec_prefix)" all