From: Lennart Poettering Date: Tue, 14 Feb 2006 22:13:30 +0000 (+0000) Subject: add man page for /etc/avahi/hosts and modify other man pages to refer to it X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=668eb7b3e832082dbf80a5e77a84de140c3cd571;p=catta add man page for /etc/avahi/hosts and modify other man pages to refer to it git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1138 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/man/Makefile.am b/man/Makefile.am index f16e8e1..3b90835 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -27,7 +27,8 @@ man_MANS = \ avahi-dnsconfd.8 \ avahi-daemon.conf.5 \ avahi-dnsconfd.action.8 \ - avahi.service.5 + avahi.service.5 \ + avahi.hosts.5 noinst_DATA = \ avahi-browse.1.xml \ @@ -39,7 +40,8 @@ noinst_DATA = \ avahi-dnsconfd.8.xml \ avahi-daemon.conf.5.xml \ avahi-dnsconfd.action.8.xml \ - avahi.service.5.xml + avahi.service.5.xml \ + avahi.hosts.5.xml CLEANFILES = \ $(noinst_DATA) @@ -105,6 +107,10 @@ avahi.service.5.xml: avahi.service.5.xml.in Makefile -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \ -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@ +avahi.hosts.5.xml: avahi.hosts.5.xml.in Makefile + sed -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \ + -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \ + -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@ if USE_XMLTOMAN @@ -140,6 +146,8 @@ avahi-dnsconfd.action.8: avahi-dnsconfd.action.8.xml Makefile avahi.service.5: avahi.service.5.xml Makefile xmltoman $< > $@ +avahi.hosts.5: avahi.hosts.5.xml Makefile + xmltoman $< > $@ xmllint: $(noinst_DATA) for f in $(noinst_DATA) ; do \ @@ -162,6 +170,7 @@ EXTRA_DIST = \ avahi-daemon.conf.5.xml.in \ avahi-dnsconfd.action.8.xml.in \ avahi.service.5.xml.in \ + avahi.hosts.5.xml.in \ xmltoman.css \ xmltoman.xsl \ xmltoman.dtd diff --git a/man/avahi-daemon.8.xml.in b/man/avahi-daemon.8.xml.in index 1c949be..7d01a4b 100644 --- a/man/avahi-daemon.8.xml.in +++ b/man/avahi-daemon.8.xml.in @@ -135,9 +135,11 @@
-

@pkgsysconfdir@/avahi-daemon.conf: the default configuration file for avahi-daemon.

+

@pkgsysconfdir@/avahi-daemon.conf: the default configuration file for avahi-daemon, for more information.

-

@servicedir@/*.service: static service definitions.

+

@pkgsysconfdir@/hosts: additional static hostname mappings to publish in mDNS, see for more information.

+ +

@servicedir@/*.service: static service definitions, see for more information.

@@ -156,7 +158,7 @@

- , , + , , ,

diff --git a/man/avahi.hosts.5.xml.in b/man/avahi.hosts.5.xml.in new file mode 100644 index 0000000..5fe2271 --- /dev/null +++ b/man/avahi.hosts.5.xml.in @@ -0,0 +1,62 @@ + + + + + + + + + + + + @pkgsysconfdir@/hosts + + + +

@pkgsysconfdir@/hosts is a file which may be used + to define static host name to IP address mappings for multicast + DNS. This is especially useful when publishing DNS-SD services + on behalf of other hosts. See for more information.

+ +

The file format is similar to the one of + /etc/hosts: on each line an IP address and the + corresponding host name. The host names should be in FQDN form, + i.e. with appended .local suffix.

+
+ +
+

The avahi developers <@PACKAGE_BUGREPORT@>; avahi is + available from

+
+ +
+

+ , +

+
+ +
+

This man page was written using by Oliver + Kurth.

+
+ +
diff --git a/man/avahi.service.5.xml.in b/man/avahi.service.5.xml.in index a5fc82a..2514f33 100644 --- a/man/avahi.service.5.xml.in +++ b/man/avahi.service.5.xml.in @@ -83,11 +83,14 @@