mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-01-15 17:52:05 +03:00
man: add silent rules for mancheck
Sponsored-by: Klara, Inc. Sponsored-by: Wasabi Technology, Inc. Reviewed-by: Paul Dagnelie <paul.dagnelie@klarasystems.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Rob Norris <rob.norris@klarasystems.com> Closes #17747
This commit is contained in:
parent
d0084a4109
commit
e3eb3ca3dc
@ -124,10 +124,21 @@ dist_noinst_DATA += $(dist_noinst_man_MANS) $(dist_man_MANS)
|
||||
|
||||
SUBSTFILES += $(nodist_man_MANS)
|
||||
|
||||
CHECKS += mancheck
|
||||
mancheck:
|
||||
$(top_srcdir)/scripts/mancheck.sh $(srcdir)/%D%
|
||||
MANFILES = $(dist_noinst_man_MANS) $(dist_man_MANS) $(nodist_man_MANS)
|
||||
|
||||
PHONY += mancheck
|
||||
|
||||
mancheck_verbose = $(mancheck_verbose_@AM_V@)
|
||||
mancheck_verbose_ = $(mancheck_verbose_@AM_DEFAULT_V@)
|
||||
mancheck_verbose_0 = @echo MANCHECK $(_MTGT);
|
||||
|
||||
_MTGT = $(subst ^,/,$(subst mancheck-,,$@))
|
||||
mancheck-%:
|
||||
$(mancheck_verbose)scripts/mancheck.sh $(_MTGT)
|
||||
|
||||
mancheck: $(foreach manfile, $(MANFILES), $(addprefix mancheck-,$(subst /,^,$(manfile))))
|
||||
|
||||
CHECKS += mancheck
|
||||
|
||||
if BUILD_LINUX
|
||||
# The manual pager in most Linux distros defaults to "BSD" when .Os is blank,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user