diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2009-03-22 09:53:19 +0100 |
---|---|---|
committer | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2009-03-22 09:53:19 +0100 |
commit | 9003cc9b747b87abd92d421891c0d7ec9e75e0d0 (patch) | |
tree | 8dd8a30195f1736ec6124ce919666b2f6c5fcf3d /lib/am/subdirs.am | |
parent | fae34eab88fa3cac62ee6d6f4de0e478754e98d7 (diff) | |
download | automake-9003cc9b747b87abd92d421891c0d7ec9e75e0d0.tar.gz |
Define AM_RECURSIVE_TARGETS, for gnulib's GNUmakefile.
This new macro lists all public targets which invoke `make'
recursively, or depend on targets which do so. It allows to
prevent parallelism selectively, when multiple targets are
passed on the `make' command line.
* lib/am/distdir.am [%?SUBDIRS%] (AM_RECURSIVE_TARGETS): New
macro.
* lib/am/subdirs.am (AM_RECURSIVE_TARGETS): Likewise.
* lib/am/tags.am [%?SUBDIRS%] (AM_RECURSIVE_TARGETS):
Likewise.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Diffstat (limited to 'lib/am/subdirs.am')
-rw-r--r-- | lib/am/subdirs.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/am/subdirs.am b/lib/am/subdirs.am index 188804263..7fbb09ef9 100644 --- a/lib/am/subdirs.am +++ b/lib/am/subdirs.am @@ -1,6 +1,6 @@ ## automake - create Makefile.in from Makefile.am ## Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2003, -## 2004, 2008 Free Software Foundation, Inc. +## 2004, 2008, 2009 Free Software Foundation, Inc. ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -18,6 +18,10 @@ RECURSIVE_TARGETS += all-recursive check-recursive installcheck-recursive RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive +## All documented targets which invoke `make' recursively, or depend +## on targets that do so. +AM_RECURSIVE_TARGETS += $(RECURSIVE_TARGETS:-recursive=) \ + $(RECURSIVE_CLEAN_TARGETS:-recursive=) .PHONY: $(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS) .MAKE: $(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS) |