From 398eb78dd25f3f80d54f7d7cdc02ffdb1398041b Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Sun, 27 Sep 2009 13:22:59 +0200 Subject: add a manpage --- skype/Makefile | 9 +++++++-- skype/asciidoc.conf | 21 +++++++++++++++++++++ skype/skyped.txt | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 80 insertions(+), 2 deletions(-) create mode 100644 skype/asciidoc.conf create mode 100644 skype/skyped.txt 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] + + + {bs_date} + + + {mantitle} + {manvolnum} + bitlbee-skype + {bs_version} + bitlbee-skype manual + + + {manname} + {manpurpose} + +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 [] + +== 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 -- cgit v1.2.3