Eric Blake wrote:
> >> +    for file in $$($(VC_LIST_EXCEPT)) $(srcdir)lib/*.[ch]; do     \
> > 
> > Is $(srcdir) expected to end in a slash or not?
> 
> Not.  Autoconf intentionally strips any trailing slash given by the
> user.  Thanks for the catch (the idea of $(srcdir)/lib/*.[ch]

Then, I think, wouldn't this patch be appropriate?


--- top/maint.mk.orig   Sat Mar 19 13:17:10 2011
+++ top/maint.mk        Sat Mar 19 13:16:44 2011
@@ -961,7 +961,7 @@
          grep -E -v '^(#|$$)' $(po_file)                               \
            | grep -v '^src/false\.c$$' | sort > $@-1;                  \
          files=;                                                       \
-         for file in $$($(VC_LIST_EXCEPT)) $(srcdir)lib/*.[ch]; do     \
+         for file in $$($(VC_LIST_EXCEPT)) $(srcdir)/lib/*.[ch]; do    \
            test -r $$file || continue;                                 \
            case $$file in                                              \
              *.m4|*.mk) continue ;;                                    \

-- 
In memoriam Fred Scamaroni <http://fr.wikipedia.org/wiki/Fred_Scamaroni>

Reply via email to