updates.
[crypto.git] / doc / Makefile.am.pre
index ce321a00b0a25ef403afad43e89ca7daaaaa587e..e1047f731f9ef83653a9bff1b803f3b33a3bf869 100644 (file)
@@ -33,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
@@ -64,8 +65,10 @@ toolkit-ref-ps:
 
 toolkit-ref-pdf:
        -ps2pdf $(SILC_TOP_SRCDIR)/doc/toolkit.ps $(SILC_TOP_SRCDIR)/doc/toolkit.pdf
+endif
 
-dist-hook: toolkit-ref-html
+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
@@ -84,34 +87,16 @@ dist-hook: toolkit-ref-html
                draft-riikonen-silc-flags-payloads-00.txt
        $(makerfc) draft-riikonen-presence-attrs-00.nroff \
                draft-riikonen-presence-attrs-00.txt
-else
-dist-hook:
-       touch draft-riikonen-silc-spec-05.txt
-       touch draft-riikonen-silc-pp-05.txt
-       touch draft-riikonen-silc-ke-auth-05.txt
-       touch draft-riikonen-silc-commands-03.txt
-       touch draft-riikonen-silc-flags-payloads-00.txt
-       touch draft-riikonen-presence-attrs-00.txt
-       $(makerfc) draft-riikonen-silc-spec-05.nroff \
-               draft-riikonen-silc-spec-05.txt
-       $(makerfc) draft-riikonen-silc-pp-05.nroff \
-               draft-riikonen-silc-pp-05.txt
-       $(makerfc) draft-riikonen-silc-ke-auth-05.nroff \
-               draft-riikonen-silc-ke-auth-05.txt
-       $(makerfc) draft-riikonen-silc-commands-03.nroff \
-               draft-riikonen-silc-commands-03.txt
-       $(makerfc) draft-riikonen-presence-attrs-00.nroff \
-               draft-riikonen-presence-attrs-00.txt
-endif
+
 endif
 
 if SILC_DIST_TOOLKIT
-SILC_EXTRA_DIST = toolkit examples
+SILC_EXTRA_DIST = toolkit examples silc.1 silcd.8 silcd.conf.5
 else
 if SILC_DIST_SERVER
-SILC_EXTRA_DIST = examples
+SILC_EXTRA_DIST = examples silcd.8 silcd.conf.5
 else
-SILC_EXTRA_DIST =
+SILC_EXTRA_DIST = silc.1
 endif
 endif