commit 2140ad33195353863d7f1728a609eb2b12b02165 Author: Jim Meyering meyering@redhat.com Date: Thu Aug 11 22:41:38 2011 +0200
doc: mention the default log file name in generated man page
* man/iwhd.x: New file, to create a "FILES" section. * man/Makefile.am (EXTRA_DIST): Add it. (iwhd.8): Use it.
man/Makefile.am | 6 ++++-- man/iwhd.x | 4 ++++ 2 files changed, 8 insertions(+), 2 deletions(-) --- diff --git a/man/Makefile.am b/man/Makefile.am index 7cb842c..f7a5fa6 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -17,11 +17,13 @@
dist_man8_MANS = iwhd.8 MAINTAINERCLEANFILES = $(dist_man8_MANS) +EXTRA_DIST = iwhd.x
# Depend on configure.ac to get version number changes. -iwhd.8: $(top_srcdir)/configure.ac $(top_srcdir)/rest.c +iwhd.8: $(top_srcdir)/configure.ac $(top_srcdir)/rest.c iwhd.x $(AM_V_GEN) \ (echo '[NAME]' && sed 's@/* *@@; s/-/\-/; q' $(top_srcdir)/rest.c)|\ PATH=..$(PATH_SEPARATOR)$$PATH \ - $(HELP2MAN) --no-info -i - -S '$(PACKAGE) $(VERSION)' iwhd \ + $(HELP2MAN) --include=$(srcdir)/iwhd.x --no-info -i - \ + -S '$(PACKAGE) $(VERSION)' iwhd \ > $@-t && mv $@-t $@ diff --git a/man/iwhd.x b/man/iwhd.x new file mode 100644 index 0000000..415ca29 --- /dev/null +++ b/man/iwhd.x @@ -0,0 +1,4 @@ +[FILES] +.TP +.I /var/log/iwhd.log +Log file established by default /etc/init file.
iwhd-commit@lists.fedorahosted.org