[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] maint.mk: minor simplication.
From: |
Akim Demaille |
Subject: |
[PATCH] maint.mk: minor simplication. |
Date: |
Tue, 17 Jul 2012 10:35:19 +0200 |
Nothing big here, just some very minor factoring.
* 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 b073b2a..27ea1ef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-07-17 Akim Demaille <address@hidden>
+
+ maint.mk: minor simplication.
+ * top/maint.mk (_sc_excl): Use $(or...) instead of $(if...)
+ for default values.
+
2012-07-15 Akim Demaille <address@hidden>
gitlog-to-changelog: VPATH build issues
diff --git a/top/maint.mk b/top/maint.mk
index e527c61..d5af750 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-$@; \
--
1.7.11.2
- [PATCH] maint.mk: minor simplication.,
Akim Demaille <=