maint: adjust syntax check 'sc_option_desc_uppercase'
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 29 Aug 2012 15:57:45 +0000 (17:57 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 30 Aug 2012 13:22:00 +0000 (15:22 +0200)
* cfg.mk (sc_option_desc_uppercase): Here, by grafting the 'man/'
prefix to the manpages obtained from $(NO_INSTALL_PROGS_DEFAULT)
and listed as prerequisites for this rule.

cfg.mk

diff --git a/cfg.mk b/cfg.mk
index 5b0f1fc..50fb13e 100644 (file)
--- a/cfg.mk
+++ b/cfg.mk
@@ -177,7 +177,7 @@ sc_option_desc_uppercase:
            { echo 1>&2 '$@: found initial capitals in --help';   \
              exit 1; } || :;
 sc_option_desc_uppercase: $(dist_man1_MANS) \
-                          $(NO_INSTALL_PROGS_DEFAULT:%=%.1) \
+                          $(patsubst %,man/%.1,$(NO_INSTALL_PROGS_DEFAULT)) \
                           all_programs
 
 # Ensure all man/*.[1x] files are present.