]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: adjust syntax check 'check-x-vs-1'
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 29 Aug 2012 15:50:34 +0000 (17:50 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 30 Aug 2012 13:22:00 +0000 (15:22 +0200)
* cfg.mk (check-x-vs-1): Here, by stripping 'man/' prefix from
$(dist_man1_MANS) entries before comparing them with the list of
expected programs.

cfg.mk

diff --git a/cfg.mk b/cfg.mk
index 9da6afa0861c82d68e287d45e91c3be7db0441d1..5b0f1fca59056e00d65708b61383ba5fe2c79b7a 100644 (file)
--- a/cfg.mk
+++ b/cfg.mk
@@ -195,7 +195,8 @@ check-x-vs-1:
        t=$@-t;                                                         \
        (cd $(srcdir)/man && ls -1 *.x)                                 \
          | sed 's/\.x$$//' | $(ASSORT) > $$t;                          \
-       (echo $(dist_man1_MANS) $(NO_INSTALL_PROGS_DEFAULT)             \
+       (echo $(patsubst man/%,%,$(dist_man1_MANS))                     \
+             $(NO_INSTALL_PROGS_DEFAULT)                               \
          | tr -s ' ' '\n' | sed 's/\.1$$//')                           \
          | $(ASSORT) -u | diff - $$t || { rm $$t; exit 1; };           \
        rm $$t