From cabce6b8f2042e42c2098f7cf18873c61ac7bcd5 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Tue, 17 Jul 2012 10:31:35 +0200 Subject: [PATCH] maint.mk: minor simplification. * top/maint.mk (_sc_excl): Use $(or...) instead of $(if...) for default values. --- ChangeLog | 6 ++++++ top/maint.mk | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b073b2ac6..27ea1ef61 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-07-17 Akim Demaille + + maint.mk: minor simplication. + * top/maint.mk (_sc_excl): Use $(or...) instead of $(if...) + for default values. + 2012-07-15 Akim Demaille gitlog-to-changelog: VPATH build issues diff --git a/top/maint.mk b/top/maint.mk index e527c6189..d5af75073 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -61,7 +61,7 @@ endif # (i.e., with no $(srcdir) prefix), this definition is careful to # remove any $(srcdir) prefix, and to restore what it removes. _sc_excl = \ - $(if $(exclude_file_name_regexp--$@),$(exclude_file_name_regexp--$@),^$$) + $(or $(exclude_file_name_regexp--$@),^$$) VC_LIST_EXCEPT = \ $(VC_LIST) | sed 's|^$(_dot_escaped_srcdir)/||' \ | if test -f $(srcdir)/.x-$@; then grep -vEf $(srcdir)/.x-$@; \ -- 2.11.0