top/maint.mk (sc_avoid_if_before_free): Except useless-if-before-free script.
authorSimon Josefsson <simon@josefsson.org>
Mon, 27 Apr 2009 13:25:50 +0000 (15:25 +0200)
committerSimon Josefsson <simon@josefsson.org>
Mon, 27 Apr 2009 13:25:50 +0000 (15:25 +0200)
ChangeLog
top/maint.mk

index 43dfc4424804b4f863a2f742a8e31a0e6b4d6400..3126a87d7828d952ccca04ae316a709139c53cdd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-04-27  Simon Josefsson  <simon@josefsson.org>
+
+       * top/maint.mk (sc_avoid_if_before_free): Except
+       useless-if-before-free script.
+
 2009-04-27  Eric Blake  <ebb9@byu.net>
 
        maintainer-makefile: depend on all required helper scripts
index 229b0dc3a548fd4aebfb3b2fe9978b8fa90c055f..28738787721356cb513084edd38e35b4c4364db9 100644 (file)
@@ -113,7 +113,7 @@ endef
 sc_avoid_if_before_free:
        @$(srcdir)/build-aux/useless-if-before-free                     \
                $(useless_free_options)                                 \
-           $$($(VC_LIST_EXCEPT)) &&                                    \
+           $$($(VC_LIST_EXCEPT) | grep -v useless-if-before-free) &&   \
          { echo '$(ME): found useless "if" before "free" above' 1>&2;  \
            exit 1; } || :