automake-ng
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Automake-NG] [FYI] [ng] subdirs: merge $(RECURSIVE_CLEAN_TARGETS) i


From: Akim Demaille
Subject: Re: [Automake-NG] [FYI] [ng] subdirs: merge $(RECURSIVE_CLEAN_TARGETS) into $(RECURSIVE_TARGETS)
Date: Fri, 31 Aug 2012 14:48:49 +0200

Le 11 août 2012 à 19:09, Stefano Lattarini a écrit :

> diff --git a/lib/am/subdirs.mk b/lib/am/subdirs.mk
> index 1d39596..9e70000 100644
> --- a/lib/am/subdirs.mk
> +++ b/lib/am/subdirs.mk
> @@ -14,13 +14,17 @@
> ## You should have received a copy of the GNU General Public License
> ## along with this program.  If not, see <http://www.gnu.org/licenses/>.
> 
> -RECURSIVE_TARGETS += all-recursive check-recursive installcheck-recursive
> -RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive      \
> -  distclean-recursive maintainer-clean-recursive
> +RECURSIVE_TARGETS += \
> +  all-recursive \
> +  check-recursive \
> +  installcheck-recursive \
> +  mostlyclean-recursive \
> +  clean-recursive \
> +  distclean-recursive \
> +  maintainer-clean-recursive

When the order does not matter, you should sort alphabetically IMHO.

> am.recurs.all-targets = \
>   $(RECURSIVE_TARGETS) \
> -  $(RECURSIVE_CLEAN_TARGETS) \
>   $(am.recurs.extra-targets)
> 
> # All documented targets which invoke 'make' recursively, or depend
> -- 
> 1.7.12.rc0
> 
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]