diff options
author | Akim Demaille <akim@lrde.epita.fr> | 2012-07-17 10:31:35 +0200 |
---|---|---|
committer | Akim Demaille <akim@lrde.epita.fr> | 2012-07-17 11:36:28 +0200 |
commit | cabce6b8f2042e42c2098f7cf18873c61ac7bcd5 (patch) | |
tree | 2eb0f57388c3a7cba7130f12f3b326e64393a0bd | |
parent | 368a317788935c0423dc2afbd16754d9c7c73a48 (diff) | |
download | gnulib-cabce6b8f2042e42c2098f7cf18873c61ac7bcd5.tar.gz |
maint.mk: minor simplification.
* top/maint.mk (_sc_excl): Use $(or...) instead of $(if...)
for default values.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | top/maint.mk | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2012-07-17 Akim Demaille <akim@lrde.epita.fr> + + maint.mk: minor simplication. + * top/maint.mk (_sc_excl): Use $(or...) instead of $(if...) + for default values. + 2012-07-15 Akim Demaille <akim@lrde.epita.fr> gitlog-to-changelog: VPATH build issues diff --git a/top/maint.mk b/top/maint.mk index e527c61897..d5af750736 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-$@; \ |