From 5f50418bcedca75028597dfa6504e5be9a549c26 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 16 Nov 2005 23:01:03 +0000 Subject: [PATCH] Update man pages for new avahi-publish-* tools git-svn-id: file:///home/lennart/svn/public/avahi/trunk@990 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- man/Makefile.am | 28 +++------ man/avahi-browse.1.xml.in | 14 ++--- man/avahi-publish-address.1.xml.in | 63 ------------------- man/avahi-publish-service.1.xml.in | 84 ------------------------- man/avahi-publish.1.xml.in | 124 +++++++++++++++++++++++++++++++++++++ 5 files changed, 141 insertions(+), 172 deletions(-) delete mode 100644 man/avahi-publish-address.1.xml.in delete mode 100644 man/avahi-publish-service.1.xml.in create mode 100644 man/avahi-publish.1.xml.in diff --git a/man/Makefile.am b/man/Makefile.am index ae83024..f16e8e1 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -31,8 +31,7 @@ man_MANS = \ noinst_DATA = \ avahi-browse.1.xml \ - avahi-publish-service.1.xml \ - avahi-publish-address.1.xml \ + avahi-publish.1.xml \ avahi-resolve.1.xml \ avahi-daemon.8.xml \ avahi-discover.1.xml \ @@ -49,12 +48,11 @@ if HAVE_DBUS man_MANS += \ avahi-browse.1 \ - avahi-resolve.1 + avahi-resolve.1 \ + avahi-publish.1 if HAVE_PYTHON man_MANS += \ - avahi-publish-service.1 \ - avahi-publish-address.1 \ avahi-discover.1 \ avahi-bookmarks.1 endif @@ -64,11 +62,7 @@ avahi-browse.1.xml: avahi-browse.1.xml.in Makefile sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \ -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@ -avahi-publish-service.1.xml: avahi-publish-service.1.xml.in Makefile - sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \ - -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@ - -avahi-publish-address.1.xml: avahi-publish-address.1.xml.in Makefile +avahi-publish.1.xml: avahi-publish.1.xml.in Makefile sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \ -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@ @@ -119,10 +113,7 @@ CLEANFILES += $(man_MANS) avahi-browse.1: avahi-browse.1.xml Makefile xmltoman $< > $@ -avahi-publish-service.1: avahi-publish-service.1.xml Makefile - xmltoman $< > $@ - -avahi-publish-address.1: avahi-publish-address.1.xml Makefile +avahi-publish.1: avahi-publish.1.xml Makefile xmltoman $< > $@ avahi-resolve.1: avahi-resolve.1.xml Makefile @@ -162,8 +153,7 @@ endif EXTRA_DIST = \ $(man_MANS) \ avahi-browse.1.xml.in \ - avahi-publish-service.1.xml.in \ - avahi-publish-address.1.xml.in \ + avahi-publish.1.xml.in \ avahi-resolve.1.xml.in \ avahi-daemon.8.xml.in \ avahi-discover.1.xml.in \ @@ -182,9 +172,11 @@ if HAVE_DBUS install-exec-local: mkdir -p $(DESTDIR)/$(mandir)/man1 && \ cd $(DESTDIR)/$(mandir)/man1 && \ - rm -f avahi-resolve-host-name.1 avahi-resolve-address.1 avahi-browse-domains.1 && \ + rm -f avahi-resolve-host-name.1 avahi-resolve-address.1 avahi-browse-domains.1 avahi-publish-address.1 avahi-publish-service.1 && \ $(LN_S) avahi-resolve.1 avahi-resolve-host-name.1 && \ $(LN_S) avahi-resolve.1 avahi-resolve-address.1 && \ - $(LN_S) avahi-browse.1 avahi-browse-domains.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 endif diff --git a/man/avahi-browse.1.xml.in b/man/avahi-browse.1.xml.in index 5323317..306152d 100644 --- a/man/avahi-browse.1.xml.in +++ b/man/avahi-browse.1.xml.in @@ -81,18 +81,13 @@ - - + + @@ -114,7 +114,7 @@

- , + , ,

diff --git a/man/avahi-publish-address.1.xml.in b/man/avahi-publish-address.1.xml.in deleted file mode 100644 index 003f7b2..0000000 --- a/man/avahi-publish-address.1.xml.in +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - avahi-publish-address name address - - - -

Register an mDNS host name to address mapping (and vice versa) using the Avahi daemon.

-
- - - -

Specify a DNS host name (FQDN, e.g. "foobar.local") and an IP - address (e.g. "192.168.50.1" or "2001:db8:0:1::1") on the - command line.

- -
- -
-

The avahi developers <@PACKAGE_BUGREPORT@>; avahi is - available from

-
- -
-

- , - , - , - -

-
- -
-

This man page was written using by Oliver Kurth.

-
- -
diff --git a/man/avahi-publish-service.1.xml.in b/man/avahi-publish-service.1.xml.in deleted file mode 100644 index c4bbd12..0000000 --- a/man/avahi-publish-service.1.xml.in +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - - - - - - avahi-publish-service [options] name service-type port - avahi-publish-service --help - - - -

Register an mDNS/DNS-SD service using the Avahi daemon.

-
- - - -

Specify a DNS-SD service name (e.g. "Lennart's Files"), a - service type (e.g. _http._tcp) and an IP port number for the - service on the command line.

- - - - - - - -
- -
-

The avahi developers <@PACKAGE_BUGREPORT@>; avahi is - available from

-
- -
-

- , , -

-
- -
-

This man page was written using by Oliver Kurth.

-
- -
diff --git a/man/avahi-publish.1.xml.in b/man/avahi-publish.1.xml.in new file mode 100644 index 0000000..cab5828 --- /dev/null +++ b/man/avahi-publish.1.xml.in @@ -0,0 +1,124 @@ + + + + + + + + + + + + avahi-publish -s [options] name service-type port [TXT data ...] + avahi-publish-service [options] name service-type port [TXT data ...] + avahi-publish -a [options] host name address + avahi-publish-address [options] host name address + + + +

Register an mDNS/DNS-SD service or host name/address mapping using the Avahi daemon.

+
+ + + +

When calling in service registration mode, specify a DNS-SD + service name (e.g. "Lennart's Files"), a service type + (e.g. _http._tcp) and an IP port number for the service, + optionally followed by any number of TXT record strings on the + command line. When calling in address/host name registration + mode specify a fully qualified host name and an address (IPv4 or + IPv6).

+ + + + + + + + + + + + + + + + + + + +
+ +
+

The avahi developers <@PACKAGE_BUGREPORT@>; avahi is + available from

+
+ +
+

+ , , +

+
+ +
+

This man page was written using by Oliver Kurth.

+
+ +
-- 2.7.4