top/maint.mk (VC_LIST_EXCEPT): Filter list through VC_LIST_ALWAYS_EXCLUDE_REGEX.
authorSimon Josefsson <simon@josefsson.org>
Tue, 12 Jan 2010 19:17:19 +0000 (20:17 +0100)
committerSimon Josefsson <simon@josefsson.org>
Tue, 12 Jan 2010 19:17:19 +0000 (20:17 +0100)
ChangeLog
top/maint.mk

index 8c6965c..d891134 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-01-12  Simon Josefsson  <simon@josefsson.org>
+
+       * top/maint.mk (VC_LIST_EXCEPT): Filter list through
+       VC_LIST_ALWAYS_EXCLUDE_REGEX.
+
 2010-01-12  Eric Blake  <ebb9@byu.net>
 
        build: guarantee AS_VAR_IF
index 3651543..366d12a 100644 (file)
@@ -36,9 +36,14 @@ VC-tag = git tag -s -m '$(VERSION)' -u '$(gpg_key_ID)'
 
 VC_LIST = $(build_aux)/vc-list-files -C $(srcdir)
 
+# You can override this variable in cfg.mk to set your own regexp
+# matching files to ignore.
+VC_LIST_ALWAYS_EXCLUDE_REGEX ?= ^$$
+
 VC_LIST_EXCEPT = \
   $(VC_LIST) | if test -f $(srcdir)/.x-$@; then grep -vEf $(srcdir)/.x-$@; \
-              else grep -Ev "$${VC_LIST_EXCEPT_DEFAULT-ChangeLog}"; fi
+              else grep -Ev -e "$${VC_LIST_EXCEPT_DEFAULT-ChangeLog}"; fi \
+       | grep -Ev -e '$(VC_LIST_ALWAYS_EXCLUDE_REGEX)'
 
 ifeq ($(origin prev_version_file), undefined)
   prev_version_file = $(srcdir)/.prev-version