From 857e3a7d3d8724b169f979b34ad6ebdeeb335354 Mon Sep 17 00:00:00 2001 From: Ming-Hung Tsai Date: Sat, 26 Jun 2021 13:07:03 +0800 Subject: [PATCH] [manpages] Make the header and footer backward compatible --- Makefile.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index ec665ca..34aaecc 100644 --- a/Makefile.in +++ b/Makefile.in @@ -236,7 +236,8 @@ INSTALL_DATA = $(INSTALL) -p -m 644 %.8: %.txt bin/txt2man @echo " [txt2man] $<" @mkdir -p $(dir $@) - $(V) bin/txt2man -p -t $(basename $(notdir $<)) $< > $@ + $(V) bin/txt2man -t $(basename $(notdir $<)) \ + -s 8 -v "System Manager's Manual" -r "Device Mapper Tools" $< > $@ #---------------------------------------------------------------- @@ -271,6 +272,7 @@ clean: find . -name \*.gmo -delete find . -name \*.d -delete $(RM) $(PROGRAMS) $(DEV_TOOLS) lib/*.a lib/*.so + $(RM) man8/*.8 distclean: clean $(RM) config.cache config.log config.status configure.h version.h Makefile unit-tests/Makefile