Use _GNU_SOURCE on Linux systems.
[silc.git] / doc / Makefile.ad
index f5926593553c7199241d5bb1445aa9be1a8ae10d..1818fc1c479d62f96360dfd5f83e7d60a0680c53 100644 (file)
@@ -3,7 +3,7 @@
 #
 #  Author: Pekka Riikonen <priikone@silcnet.org>
 #
-#  Copyright (C) 2000 - 2005 Pekka Riikonen
+#  Copyright (C) 2000 - 2007 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
 
 AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign
 
+#ifdef SILC_DIST_TOOLKIT
 all:
-       touch draft-riikonen-silc-spec-08.txt
+       touch draft-riikonen-silc-spec-09.txt
        touch draft-riikonen-silc-pp-09.txt
-       touch draft-riikonen-silc-ke-auth-08.txt
-       touch draft-riikonen-silc-commands-06.txt
+       touch draft-riikonen-silc-ke-auth-09.txt
+       touch draft-riikonen-silc-commands-07.txt
        touch draft-riikonen-silc-flags-payloads-04.txt
-       touch draft-riikonen-presence-attrs-03.txt
+       touch draft-riikonen-silc-multimedia-session-00.txt
+       touch draft-riikonen-presence-attrs-04.txt
 
-#ifdef SILC_DIST_TOOLKIT
 makerfc = $(SILC_TOP_SRCDIR)/scripts/makerfc
 
 toolkit-ref-html:
@@ -51,36 +52,31 @@ toolkit-ref-pdf:
         fi
 
 dist-hook:
-       $(SILC_TOP_SRCDIR)/scripts/manpages.pl
-       touch draft-riikonen-silc-spec-08.txt
+       touch draft-riikonen-silc-spec-09.txt
        touch draft-riikonen-silc-pp-09.txt
-       touch draft-riikonen-silc-ke-auth-08.txt
-       touch draft-riikonen-silc-commands-06.txt
+       touch draft-riikonen-silc-ke-auth-09.txt
+       touch draft-riikonen-silc-commands-07.txt
        touch draft-riikonen-silc-flags-payloads-04.txt
-       touch draft-riikonen-presence-attrs-03.txt
-       $(makerfc) draft-riikonen-silc-spec-08.nroff \
-               draft-riikonen-silc-spec-08.txt
+       touch draft-riikonen-silc-multimedia-session-00.txt
+       touch draft-riikonen-presence-attrs-04.txt
+       $(makerfc) draft-riikonen-silc-spec-09.nroff \
+               draft-riikonen-silc-spec-09.txt
        $(makerfc) draft-riikonen-silc-pp-09.nroff \
                draft-riikonen-silc-pp-09.txt
-       $(makerfc) draft-riikonen-silc-ke-auth-08.nroff \
-               draft-riikonen-silc-ke-auth-08.txt
-       $(makerfc) draft-riikonen-silc-commands-06.nroff \
-               draft-riikonen-silc-commands-06.txt
+       $(makerfc) draft-riikonen-silc-ke-auth-09.nroff \
+               draft-riikonen-silc-ke-auth-09.txt
+       $(makerfc) draft-riikonen-silc-commands-07.nroff \
+               draft-riikonen-silc-commands-07.txt
        $(makerfc) draft-riikonen-silc-flags-payloads-04.nroff \
                draft-riikonen-silc-flags-payloads-04.txt
-       $(makerfc) draft-riikonen-presence-attrs-03.nroff \
-               draft-riikonen-presence-attrs-03.txt
+       $(makerfc) draft-riikonen-silc-multimedia-session-00.nroff \
+               draft-riikonen-silc-multimedia-session-00.txt
+       $(makerfc) draft-riikonen-presence-attrs-04.nroff \
+               draft-riikonen-presence-attrs-04.txt
 
 #else !SILC_DIST_TOOLKIT
 dist-hook:
        $(SILC_TOP_SRCDIR)/scripts/manpages.pl
-       rm draft-riikonen*.txt
-       touch draft-riikonen-silc-spec-08.txt
-       touch draft-riikonen-silc-pp-09.txt
-       touch draft-riikonen-silc-ke-auth-08.txt
-       touch draft-riikonen-silc-commands-06.txt
-       touch draft-riikonen-silc-flags-payloads-04.txt
-       touch draft-riikonen-presence-attrs-03.txt
 #endif SILC_DIST_TOOLKIT
 
 doc-install:
@@ -89,9 +85,9 @@ doc-install:
        -$(INSTALL_DATA) $(top_srcdir)/doc/CodingStyle $(docdir)/
        -$(INSTALL_DATA) $(top_srcdir)/GPL $(docdir)/
        -$(INSTALL_DATA) $(top_srcdir)/BSD $(docdir)/
+       -$(INSTALL_DATA) $(top_srcdir)/doc/*.txt $(docdir)/
 #endif SILC_DIST_TOOLKIT
        -$(INSTALL_DATA) $(top_srcdir)/doc/FAQ $(docdir)/
-       -$(INSTALL_DATA) $(top_srcdir)/doc/*.txt $(docdir)/
        -$(INSTALL_DATA) $(top_srcdir)/COPYING $(docdir)/
        -$(INSTALL_DATA) $(top_srcdir)/CHANGES $(docdir)/
        -$(INSTALL_DATA) $(top_srcdir)/CREDITS $(docdir)/
@@ -108,14 +104,15 @@ EXTRA_DIST =                      \
 #endif SILC_DIST_CLIENT
 #ifdef SILC_DIST_SERVER
        examples silcd.8 silcd.conf.5   \
+       example_silcd.conf      \
+       silcalgs.conf           \
 #endif SILC_DIST_SERVER
 #ifdef SILC_DIST_TOOLKIT
        toolkit                 \
        CodingStyle             \
+       draft-riikonen*.txt     \
+       silcalgs.conf           \
 #endif SILC_DIST_TOOLKIT
-       FAQ                     \
-       example_silcd.conf      \
-       silcalgs.conf           \
-       draft-riikonen*.txt
+       FAQ
 
 include $(top_srcdir)/Makefile.defines.in