4 # Author: Pekka Riikonen <priikone@poseidon.pspt.fi>
6 # Copyright (C) 2000 - 2001 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; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
19 AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign
21 SUBDIRS = lib silcd silc doc includes
24 -chmod -R a+r $(distdir)
25 -$(TAR) chof $(distdir).tar $(distdir)
29 EXTRA_DIST = CHANGES CREDITS
32 # Installing of SILC into the system
35 modulesdir = $(prefix)/@MODULESDIR@
36 helpdir = $(prefix)/@HELPDIR@
37 docdir = $(prefix)/@DOCDIR@
42 -mkdir -p $(modulesdir)
48 -echo Generating SILC Server key into $(etcdir)
49 -$(sbindir)/silcd -k $(etcdir)
52 -echo Installing SIM modules into $(modulesdir)
53 -cp -fR $(srcdir)/lib/silcsim/modules/*.so $(modulesdir)/
56 -cp -fR $(srcdir)/doc/* $(docdir)/
59 -cp -fR $(srcdir)/doc/example_silcd.conf $(etcdir)/silcd.conf
60 -cp -fR $(srcdir)/doc/example_silc.conf $(etcdir)/silc.conf
62 install-data-hook: install-dirs generate-server-key sim-install doc-install