From 4b5e3a30bd947a837ab24e1654b06ef002c274e4 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Sun, 3 Nov 2002 17:31:04 +0000 Subject: [PATCH] updates. --- doc/Makefile.am.pre | 3 ++- doc/silc.yo | 8 ++++---- scripts/manpages.pl | 6 ++++++ 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/doc/Makefile.am.pre b/doc/Makefile.am.pre index dde03c19..6fb9bf0f 100644 --- a/doc/Makefile.am.pre +++ b/doc/Makefile.am.pre @@ -24,7 +24,6 @@ DIST_SUBDIRS = SILC_DISTRIBUTION_SUBDIRS makerfc = ../scripts/makerfc all: - $(SILC_TOP_SRCDIR)/scripts/manpages.pl touch draft-riikonen-silc-spec-05.txt touch draft-riikonen-silc-pp-05.txt touch draft-riikonen-silc-ke-auth-05.txt @@ -34,6 +33,7 @@ all: if SILC_DIST_CLIENT dist-hook: + $(SILC_TOP_SRCDIR)/scripts/manpages.pl rm draft-riikonen*.txt touch draft-riikonen-silc-spec-05.txt touch draft-riikonen-silc-pp-05.txt @@ -68,6 +68,7 @@ toolkit-ref-pdf: endif dist-hook: + $(SILC_TOP_SRCDIR)/scripts/manpages.pl touch draft-riikonen-silc-spec-05.txt touch draft-riikonen-silc-pp-05.txt touch draft-riikonen-silc-ke-auth-05.txt diff --git a/doc/silc.yo b/doc/silc.yo index 968a632c..a848af33 100644 --- a/doc/silc.yo +++ b/doc/silc.yo @@ -40,8 +40,8 @@ same nickname than before detaching and remains on all channels, and it seems like user never left the network. The bf(silc) also supports creation of em(friends) list, which is kind of -buddy list familiar from IM (Instant Messaging) clients. By using the -bf(WHOIS) SILC command with em(-details) option it possible to fetch the +a buddy list familiar from IM (Instant Messaging) clients. By using the +bf(WHOIS) SILC command with em(-details) option it is possible to fetch the user's information such as their public keys and certificates, business card, pictures, and other information and save them to the friends list. The friends list is located at bf(~/.silc/friends/) directory. @@ -55,9 +55,9 @@ When connecting for the first time to SILC server, user will be asked to accept the server's public key. When key is accepted the bf(silc) saves the public key for future into bf(~/.silc/serverkeys/) directory. The next time user connects to same server the public key is verified against -the saved public key. The purposeof this public key saving is to avoid +the saved public key. The purpose of this public key saving is to avoid man-in-the-middle attacks which could be possible if the key would have -to be verified everytime user connects to the server. +to be verified every time user connects to the server. manpageoptions() bf(-c) em(host) Connect to given host diff --git a/scripts/manpages.pl b/scripts/manpages.pl index d53eafb8..56ceefe3 100755 --- a/scripts/manpages.pl +++ b/scripts/manpages.pl @@ -10,6 +10,12 @@ my (@yodl, @men); $yodl2man = qx/which yodl2man/; chomp($yodl2man); +if ($yodl2man eq "" || $yodl2man =~ m/found/) { + print "Yodl is needed to to generate manpages.\n"; + print "Skipping them...\n"; + exit; +} + @yodl = ('silc.yo', 'silcd.yo', 'silcd.conf.yo', 'silc.conf.yo'); @men = ('silc.1', 'silcd.8', 'silcd.conf.5', 'silc.conf.5'); -- 2.24.0