Mercurial > hg > octave-kai > gnulib-hg
changeset 16997:efd55e9041c8
maint.mk: minor simplification.
* top/maint.mk (_sc_excl): Use $(or...) instead of $(if...)
for default values.
author | Akim Demaille <akim@lrde.epita.fr> |
---|---|
date | Tue, 17 Jul 2012 10:31:35 +0200 |
parents | f6ae6de0b7a4 |
children | df184134789b |
files | ChangeLog top/maint.mk |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -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
--- a/top/maint.mk +++ b/top/maint.mk @@ -61,7 +61,7 @@ # (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-$@; \