]> git.meshlink.io Git - catta/commitdiff
add man page for avahi-set-host-name
authorLennart Poettering <lennart@poettering.net>
Tue, 22 Aug 2006 02:28:46 +0000 (02:28 +0000)
committerLennart Poettering <lennart@poettering.net>
Tue, 22 Aug 2006 02:28:46 +0000 (02:28 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1264 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

man/Makefile.am
man/avahi-daemon.8.xml.in
man/avahi-set-host-name.1.xml.in [new file with mode: 0644]

index 3b90835e33f507625788f56b7544a732b3919e54..f6bbae0360e88576b03121b0863af81c5a965e10 100644 (file)
@@ -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 \
index 7d01a4b4fa1b7b286e82454e006ccc515ff0a855..b4ad07db7a0dbcc857b1a1efe373b9c7acd05873 100644 (file)
        
        <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 (file)
index 0000000..b2eb7f4
--- /dev/null
@@ -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>