updates.
[silc.git] / Makefile.am.pre
index 5c0696c5ebbf4d3643996957589b9863d1c99148..510b418adb5806facc45c6f638bebfa086d27cb1 100644 (file)
@@ -1,14 +1,13 @@
 #
 #  Makefile.am
 #
-#  Author: Pekka Riikonen <priikone@poseidon.pspt.fi>
+#  Author: Pekka Riikonen <priikone@silcnet.org>
 #
 #  Copyright (C) 2000 - 2001 Pekka Riikonen
 #
 #  This program is free software; you can redistribute it and/or modify
 #  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
-#  (at your option) any later version.
+#  the Free Software Foundation; version 2 of the License.
 #
 #  This program is distributed in the hope that it will be useful,
 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -70,6 +69,12 @@ doc-install:
        $(INSTALL_DATA) $(srcdir)/INSTALL $(docdir)/
        $(INSTALL_DATA) $(srcdir)/TODO $(docdir)/
 
+examples-install:
+       -mkdir -p $(docdir)/examples/
+       $(INSTALL_DATA) $(srcdir)/doc/examples/README $(docdir)/examples/
+       $(INSTALL_DATA) $(srcdir)/doc/examples/silc* $(docdir)/examples/
+       $(INSTALL_DATA) $(srcdir)/doc/examples/cell* $(docdir)/examples/
+
 etc-install:
        -@if test '!' -f $(etcdir)/silcd.conf ; then \
          $(INSTALL_DATA) $(srcdir)/doc/example_silcd.conf \
@@ -84,5 +89,5 @@ etc-install:
 if SILC_DIST_CLIENT
 install-data-hook: install-dirs sim-install doc-install etc-install
 else
-install-data-hook: install-dirs generate-server-key sim-install doc-install etc-install
+install-data-hook: install-dirs generate-server-key sim-install doc-install examples-install etc-install
 endif