]> git.meshlink.io Git - catta/commitdiff
add bssh man page
authorLennart Poettering <lennart@poettering.net>
Wed, 9 May 2007 14:30:19 +0000 (14:30 +0000)
committerLennart Poettering <lennart@poettering.net>
Wed, 9 May 2007 14:30:19 +0000 (14:30 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1471 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

man/Makefile.am
man/bssh.1.xml.in [new file with mode: 0644]

index 756d481a2a8450fa407cbf4693aaaa65f8565c31..a6575df4d9e543e39f18f20c11b2921441744088 100644 (file)
@@ -44,7 +44,8 @@ noinst_DATA = \
        avahi.service.5.xml \
        avahi.hosts.5.xml \
        avahi-autoipd.8.xml \
-       avahi-autoipd.action.8.xml
+       avahi-autoipd.action.8.xml \
+       bssh.1.xml
 
 CLEANFILES = \
        $(noinst_DATA)
@@ -57,6 +58,11 @@ man_MANS += \
        avahi-publish.1 \
        avahi-set-host-name.1
 
+if HAVE_GTK
+man_MANS += \
+       bssh.1
+endif
+
 if HAVE_PYTHON
 man_MANS += \
        avahi-discover.1 \
@@ -140,6 +146,10 @@ avahi-autoipd.8.xml: avahi-autoipd.8.xml.in Makefile
                -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
         -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
 
+bssh.1.xml: bssh.1.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
 
@@ -187,6 +197,9 @@ avahi-autoipd.action.8: avahi-autoipd.action.8.xml Makefile
 avahi-autoipd.8: avahi-autoipd.8.xml Makefile
        xmltoman $< > $@
 
+bssh.1: bssh.1.xml Makefile
+       xmltoman $< > $@
+
 xmllint: $(noinst_DATA)
        for f in $(noinst_DATA) ; do \
                        xmllint --noout --valid "$$f" || exit 1 ; \
@@ -212,6 +225,7 @@ EXTRA_DIST = \
        avahi.hosts.5.xml.in \
        avahi-autoipd.action.8.xml.in \
        avahi-autoipd.8.xml.in \
+       bssh.1.xml.in \
        xmltoman.css \
        xmltoman.xsl \
        xmltoman.dtd
@@ -227,6 +241,8 @@ install-exec-local:
                $(LN_S) avahi-resolve.1 avahi-resolve-address.1 && \
                $(LN_S) avahi-browse.1 avahi-browse-domains.1 && \
                $(LN_S) avahi-publish.1 avahi-publish-address.1 && \
-               $(LN_S) avahi-publish.1 avahi-publish-service.1
+                $(LN_S) avahi-publish.1 avahi-publish-service.1 && \
+                $(LN_S) bssh.1 bvnc.1
+
 
 endif
diff --git a/man/bssh.1.xml.in b/man/bssh.1.xml.in
new file mode 100644 (file)
index 0000000..66341f9
--- /dev/null
@@ -0,0 +1,62 @@
+<?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="bssh" section="1" desc="Browse for SSH/VNC servers on the local network">
+
+    <synopsis>
+      <cmd>bssh</cmd>
+      <cmd>bvnc</cmd>
+    </synopsis>
+    
+    <description>
+      <p>bssh/bvnc browses for local SSH/VNC servers on the local
+      network, shows them in a GUI for the user to select one and
+      finally calls ssh/xvncviewer after a selection was made.</p>
+    
+    </description>
+       
+    <options>
+
+      <p>bssh/bvnc takes no command line arguments at the moment.</p>
+
+    </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-browse" section="1"/>
+      </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>