aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2009-09-27 13:22:59 +0200
committerMiklos Vajna <vmiklos@frugalware.org>2009-09-27 13:22:59 +0200
commit398eb78dd25f3f80d54f7d7cdc02ffdb1398041b (patch)
tree12239bb8c0f0dd079291eb67367364ec1f540e00
parent1a575f69c852614d53f618a3c95295113029477b (diff)
add a manpage
-rw-r--r--skype/Makefile9
-rw-r--r--skype/asciidoc.conf21
-rw-r--r--skype/skyped.txt52
3 files changed, 80 insertions, 2 deletions
diff --git a/skype/Makefile b/skype/Makefile
index b6cc262b..3c515d63 100644
--- a/skype/Makefile
+++ b/skype/Makefile
@@ -1,15 +1,16 @@
-include config.mak
VERSION = 0.7.2
+DATE := $(shell date +%Y-%m-%d)
# latest stable
BITLBEE_VERSION = 1.2.3
AMPATH = $(shell grep automake- $(shell which automake)|sed "s|.*'\(.*\)';|\1|")
ifeq ($(BITLBEE),yes)
-all: skype.$(SHARED_EXT)
+all: skype.$(SHARED_EXT) skyped.1
else
-all:
+all: skyped.1
endif
skype.$(SHARED_EXT): skype.c config.mak
@@ -74,3 +75,7 @@ HEADER.html: README Makefile
Changelog: .git/refs/heads/master
git log --no-merges |git name-rev --tags --stdin >Changelog
+
+%.1: %.txt asciidoc.conf
+ a2x --asciidoc-opts="-f asciidoc.conf" \
+ -a bs_version=$(VERSION) -a bs_date=$(DATE) -f manpage $<
diff --git a/skype/asciidoc.conf b/skype/asciidoc.conf
new file mode 100644
index 00000000..24a649c1
--- /dev/null
+++ b/skype/asciidoc.conf
@@ -0,0 +1,21 @@
+ifdef::doctype-manpage[]
+ifdef::backend-docbook[]
+[header]
+template::[header-declarations]
+<refentry>
+ <refentryinfo>
+ <date>{bs_date}</date>
+ </refentryinfo>
+ <refmeta>
+ <refentrytitle>{mantitle}</refentrytitle>
+ <manvolnum>{manvolnum}</manvolnum>
+ <refmiscinfo class="source">bitlbee-skype</refmiscinfo>
+ <refmiscinfo class="version">{bs_version}</refmiscinfo>
+ <refmiscinfo class="manual">bitlbee-skype manual</refmiscinfo>
+ </refmeta>
+ <refnamediv>
+ <refname>{manname}</refname>
+ <refpurpose>{manpurpose}</refpurpose>
+ </refnamediv>
+endif::backend-docbook[]
+endif::doctype-manpage[]
diff --git a/skype/skyped.txt b/skype/skyped.txt
new file mode 100644
index 00000000..53f2626d
--- /dev/null
+++ b/skype/skyped.txt
@@ -0,0 +1,52 @@
+= skyped(1)
+
+== NAME
+
+skyped - allows remote control of the Skype GUI client
+
+== SYNOPSIS
+
+skyped [<options>]
+
+== DESCRIPTION
+
+Skype supports remote control of the GUI client only via X11 or DBus
+messages. This is hard in care you want remote control. This daemon
+listens on a TCP port and runs on the same machine where the GUI client
+runs. It passes all the input it gets to Skype directly, except for a
+few commands which is related to authentication. The whole communication
+is done via SSL.
+
+== CONFIGURATION
+
+See the README for information about how to configure this daemon.
+
+== OPTIONS
+
+-c, --config::
+ Path to configuration file (default: $HOME/.skyped/skyped.conf)
+
+-d, --debug::
+ Enable debug messages
+
+-h, --help::
+ Show short summary of options
+
+-H, --host::
+ Set the tcp host (default: 0.0.0.0)
+
+-l, --log::
+ Set the log file in background mode (default: none)
+
+-n, --nofork::
+ Don't run as daemon in the background
+
+-p, --port::
+ Set the tcp port (default: 2727)
+
+-v, --version::
+ Display version information
+
+== AUTHOR
+
+Written by Miklos Vajna <vmiklos@frugalware.org>