From: Akim Demaille Date: Tue, 17 Jul 2012 08:31:35 +0000 (+0200) Subject: maint.mk: minor simplification. X-Git-Tag: v0.1~531 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=cabce6b8f2042e42c2098f7cf18873c61ac7bcd5;p=gnulib.git maint.mk: minor simplification. * top/maint.mk (_sc_excl): Use $(or...) instead of $(if...) for default values. --- 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-$@; \