diff options
author | Roland McGrath <roland@gnu.org> | 2003-02-22 20:20:29 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2003-02-22 20:20:29 +0000 |
commit | 52a86d0abe68145645acef3bf403dae5615963e6 (patch) | |
tree | 2e127e642cd17daa38857a70462d996d129baba2 | |
parent | 757f9fcb6f5f87d650e862226a197f1e872f904c (diff) | |
download | glibc-52a86d0abe68145645acef3bf403dae5615963e6.tar.gz glibc-52a86d0abe68145645acef3bf403dae5615963e6.tar.xz glibc-52a86d0abe68145645acef3bf403dae5615963e6.zip |
2003-02-22 Roland McGrath <roland@redhat.com>
* MakeTAGS (sub-make-vars): New variable, includes generating=t. Use that in $(MAKE) calls.
-rw-r--r-- | MakeTAGS | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/MakeTAGS b/MakeTAGS index 75f5439bdd..bee41252ee 100644 --- a/MakeTAGS +++ b/MakeTAGS @@ -1,5 +1,6 @@ # Make the TAGS files. -# Copyright (C) 1992,1994,1995,1996,1998,2002 Free Software Foundation, Inc. +# Copyright (C) 1992,1994,1995,1996,1998,2002,2003 +# Free Software Foundation, Inc. # This file is part of the GNU C Library. # The GNU C Library is free software; you can redistribute it and/or @@ -26,6 +27,9 @@ endif include $(..)Makeconfig +# Pass these to $(MAKE) calls to avoid source generation and such. +sub-make-vars = generating=t no_deps=t + ifndef tags_sources ifeq ($(subdir),ctype) # In most cases, we want the C source files to come before @@ -123,7 +127,7 @@ TAGS: subdir_TAGS .PHONY: subdir_TAGS $(subdirs:%=%/TAGS) subdir_TAGS: $(subdirs:%=%/TAGS) $(subdirs:%=%/TAGS): - $(MAKE) -C $(@D) no_deps=t $(@F) + $(MAKE) -C $(@D) $(sub-make-vars) $(@F) endif # subdir @@ -180,6 +184,6 @@ ifeq ($(with-cvs),yes) endif $(subdirs:%=$P/%.pot): $P/%.pot: FORCE - $(MAKE) -C $* no_deps=t ../$@ + $(MAKE) -C $* $(sub-make-vars) ../$@ FORCE: endif |