4 # Author: Pekka Riikonen <priikone@silcnet.org>
6 # Copyright (C) 2000 - 2007 Pekka Riikonen
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; version 2 of the License.
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
18 AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign
21 touch draft-riikonen-silc-spec-09.txt
22 touch draft-riikonen-silc-pp-09.txt
23 touch draft-riikonen-silc-ke-auth-09.txt
24 touch draft-riikonen-silc-commands-07.txt
25 touch draft-riikonen-silc-flags-payloads-04.txt
26 touch draft-riikonen-silc-multimedia-session-00.txt
27 touch draft-riikonen-presence-attrs-04.txt
29 #ifdef SILC_DIST_TOOLKIT
30 makerfc = $(SILC_TOP_SRCDIR)/scripts/makerfc
33 -@if test -f $(SILC_TOP_SRCDIR)/util/robodoc/Source/robodoc ; then \
34 echo Generating Toolkit Reference Manual ; \
35 rm -rf toolkit ; mkdir toolkit ; cd ../scripts/silcdoc ; \
36 ./silcdoc HTML ../../lib/ $(SILC_TOP_SRCDIR)/doc/toolkit \
37 $(SILC_TOP_SRCDIR)/util/robodoc/Source/robodoc ; \
39 echo ROBODoc is not compiled! Cannot generate documentation! ; \
43 -@if test -f $(SILC_TOP_SRCDIR)/util/robodoc/Source/robodoc ; then \
44 echo Generating Toolkit Reference Manual ; \
45 cd ../scripts/silcdoc ; \
46 ./silcdoc PS ../../lib/ $(SILC_TOP_SRCDIR)/doc/toolkit.ps \
47 $(SILC_TOP_SRCDIR)/util/robodoc/Source/robodoc ; \
48 ps2pdf $(SILC_TOP_SRCDIR)/doc/toolkit.ps $(SILC_TOP_SRCDIR)/doc/toolkit.pdf; \
49 rm -rf $(SILC_TOP_SRCDIR)/doc/toolkit.ps; \
51 echo ROBODoc is not compiled! Cannot generate documentation! ; \
55 $(SILC_TOP_SRCDIR)/scripts/manpages.pl
56 touch draft-riikonen-silc-spec-09.txt
57 touch draft-riikonen-silc-pp-09.txt
58 touch draft-riikonen-silc-ke-auth-09.txt
59 touch draft-riikonen-silc-commands-07.txt
60 touch draft-riikonen-silc-flags-payloads-04.txt
61 touch draft-riikonen-silc-multimedia-session-00.txt
62 touch draft-riikonen-presence-attrs-04.txt
63 $(makerfc) draft-riikonen-silc-spec-09.nroff \
64 draft-riikonen-silc-spec-09.txt
65 $(makerfc) draft-riikonen-silc-pp-09.nroff \
66 draft-riikonen-silc-pp-09.txt
67 $(makerfc) draft-riikonen-silc-ke-auth-09.nroff \
68 draft-riikonen-silc-ke-auth-09.txt
69 $(makerfc) draft-riikonen-silc-commands-07.nroff \
70 draft-riikonen-silc-commands-07.txt
71 $(makerfc) draft-riikonen-silc-flags-payloads-04.nroff \
72 draft-riikonen-silc-flags-payloads-04.txt
73 $(makerfc) draft-riikonen-silc-multimedia-session-00.nroff \
74 draft-riikonen-silc-multimedia-session-00.txt
75 $(makerfc) draft-riikonen-presence-attrs-04.nroff \
76 draft-riikonen-presence-attrs-04.txt
78 #else !SILC_DIST_TOOLKIT
80 $(SILC_TOP_SRCDIR)/scripts/manpages.pl
81 rm -f draft-riikonen*.txt
82 touch draft-riikonen-silc-spec-09.txt
83 touch draft-riikonen-silc-pp-09.txt
84 touch draft-riikonen-silc-ke-auth-09.txt
85 touch draft-riikonen-silc-commands-07.txt
86 touch draft-riikonen-silc-flags-payloads-04.txt
87 touch draft-riikonen-silc-multimedia-session-00.txt
88 touch draft-riikonen-presence-attrs-04.txt
89 #endif SILC_DIST_TOOLKIT
93 #ifdef SILC_DIST_TOOLKIT
94 -$(INSTALL_DATA) $(top_srcdir)/doc/CodingStyle $(docdir)/
95 -$(INSTALL_DATA) $(top_srcdir)/GPL $(docdir)/
96 -$(INSTALL_DATA) $(top_srcdir)/BSD $(docdir)/
97 #endif SILC_DIST_TOOLKIT
98 -$(INSTALL_DATA) $(top_srcdir)/doc/FAQ $(docdir)/
99 -$(INSTALL_DATA) $(top_srcdir)/doc/*.txt $(docdir)/
100 -$(INSTALL_DATA) $(top_srcdir)/COPYING $(docdir)/
101 -$(INSTALL_DATA) $(top_srcdir)/CHANGES $(docdir)/
102 -$(INSTALL_DATA) $(top_srcdir)/CREDITS $(docdir)/
103 -$(INSTALL_DATA) $(top_srcdir)/README* $(docdir)/
104 -$(INSTALL_DATA) $(top_srcdir)/INSTALL $(docdir)/
105 -$(INSTALL_DATA) $(top_srcdir)/TODO $(docdir)/
111 #ifdef SILC_DIST_CLIENT
113 #endif SILC_DIST_CLIENT
114 #ifdef SILC_DIST_SERVER
115 examples silcd.8 silcd.conf.5 \
116 #endif SILC_DIST_SERVER
117 #ifdef SILC_DIST_TOOLKIT
120 #endif SILC_DIST_TOOLKIT
126 include $(top_srcdir)/Makefile.defines.in