summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-08-22 02:28:46 +0000
committerLennart Poettering <lennart@poettering.net>2006-08-22 02:28:46 +0000
commit6d523588a3b3a4c62bfe6efeee01acf038384ca6 (patch)
treef2c520a631ff5a77d3dddab32711a47f125deaf3
parent0cbaf99fc5eea82006dbc07f6c561e5d6d9cefba (diff)
add man page for avahi-set-host-name
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1264 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
-rw-r--r--man/Makefile.am12
-rw-r--r--man/avahi-daemon.8.xml.in2
-rw-r--r--man/avahi-set-host-name.1.xml.in75
3 files changed, 87 insertions, 2 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 3b90835..f6bbae0 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -34,6 +34,7 @@ noinst_DATA = \
avahi-browse.1.xml \
avahi-publish.1.xml \
avahi-resolve.1.xml \
+ avahi-set-host-name.1.xml \
avahi-daemon.8.xml \
avahi-discover.1.xml \
avahi-bookmarks.1.xml \
@@ -51,7 +52,8 @@ if HAVE_DBUS
man_MANS += \
avahi-browse.1 \
avahi-resolve.1 \
- avahi-publish.1
+ avahi-publish.1 \
+ avahi-set-host-name.1
if HAVE_PYTHON
man_MANS += \
@@ -72,6 +74,10 @@ avahi-resolve.1.xml: avahi-resolve.1.xml.in Makefile
sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
-e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
+avahi-set-host-name.1.xml: avahi-set-host-name.1.xml.in Makefile
+ sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
+ -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
+
avahi-daemon.8.xml: avahi-daemon.8.xml.in Makefile
sed -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \
-e 's,@servicedir\@,$(servicedir),g' \
@@ -125,6 +131,9 @@ avahi-publish.1: avahi-publish.1.xml Makefile
avahi-resolve.1: avahi-resolve.1.xml Makefile
xmltoman $< > $@
+avahi-set-host-name.1: avahi-set-host-name.1.xml Makefile
+ xmltoman $< > $@
+
avahi-daemon.8: avahi-daemon.8.xml Makefile
xmltoman $< > $@
@@ -163,6 +172,7 @@ EXTRA_DIST = \
avahi-browse.1.xml.in \
avahi-publish.1.xml.in \
avahi-resolve.1.xml.in \
+ avahi-set-host-name.1.xml.in \
avahi-daemon.8.xml.in \
avahi-discover.1.xml.in \
avahi-bookmarks.1.xml.in \
diff --git a/man/avahi-daemon.8.xml.in b/man/avahi-daemon.8.xml.in
index 7d01a4b..b4ad07d 100644
--- a/man/avahi-daemon.8.xml.in
+++ b/man/avahi-daemon.8.xml.in
@@ -158,7 +158,7 @@
<section name="See also">
<p>
- <manref name="avahi-daemon.conf" section="5"/>, <manref name="avahi.hosts" section="5"/>, <manref name="avahi.service" section="5"/>, <manref name="avahi-dnsconfd" section="8"/>
+ <manref name="avahi-daemon.conf" section="5"/>, <manref name="avahi.hosts" section="5"/>, <manref name="avahi.service" section="5"/>, <manref name="avahi-dnsconfd" section="8"/>, <manref name="avahi-set-host-name" section="1"/>
</p>
</section>
diff --git a/man/avahi-set-host-name.1.xml.in b/man/avahi-set-host-name.1.xml.in
new file mode 100644
index 0000000..b2eb7f4
--- /dev/null
+++ b/man/avahi-set-host-name.1.xml.in
@@ -0,0 +1,75 @@
+<?xml version="1.0"?><!--*-nxml-*-->
+<!DOCTYPE manpage SYSTEM "xmltoman.dtd">
+<?xml-stylesheet type="text/xsl" href="xmltoman.xsl" ?>
+
+<!-- $Id$ -->
+
+<!--
+ This file is part of avahi.
+
+ avahi is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of the
+ License, or (at your option) any later version.
+
+ avahi is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
+ Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with avahi; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ USA.
+-->
+
+ <manpage name="avahi-set-host-name" section="1" desc="Change mDNS host name">
+
+ <synopsis>
+ <cmd>avahi-set-host-name <arg>host-name</arg></cmd>
+ </synopsis>
+
+ <description>
+ <p>Set the mDNS host name of a currently running Avahi
+ daemon. The effect of this operation is not persistant across
+ daemon restarts. This operation is usually priviliged.</p>
+ </description>
+
+ <options>
+
+ <option>
+ <p><opt>-v | --verbose</opt></p>
+ <optdesc><p>Enable verbose mode.</p></optdesc>
+ </option>
+
+ <option>
+ <p><opt>-h | --help</opt></p>
+ <optdesc><p>Show help.</p></optdesc>
+ </option>
+
+
+ <option>
+ <p><opt>-V | --version</opt></p>
+ <optdesc><p>Show version information.</p></optdesc>
+ </option>
+
+
+ </options>
+
+ <section name="Authors">
+ <p>The avahi developers &lt;@PACKAGE_BUGREPORT@&gt;; avahi is
+ available from <url href="@PACKAGE_URL@"/></p>
+ </section>
+
+ <section name="See also">
+ <p>
+ <manref name="avahi-daemon" section="8"/>
+ </p>
+ </section>
+
+ <section name="Comments">
+ <p>This man page was written using <manref name="xml2man" section="1"
+ href="http://masqmail.cx/xml2man/"/> by Oliver Kurth.</p>
+ </section>
+
+ </manpage>