AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign
-SUBDIRS = lib irssi silc silcd doc includes
+COMMONDIRS = lib irssi silc silcd doc includes
+SUBDIRS = SILC_DISTRIBUTION_SUBDIRS
DIST_SUBDIRS = SILC_DISTRIBUTION_SUBDIRS
include $(top_srcdir)/Makefile.defines.in
$(help_DATA)
SUBDIRS = in
+DIST_SUBDIRS =
# Distribution definition. ./prepare will automatically add here a correct
# value. Do not edit!
AC_DEFINE(SILC_DIST_DEFINE)
-AM_CONDITIONAL(SILC_DIST_DEFINE, test xtrue = xtrue)
# XXX
# Compiler flags
# must have DIST_SUBDIRS = SILC_DISTRIBUTIONS_SUBDIRS line in it.
#
# NOTE: Also note that if any subdirectory has Makefile.am.pre then you
-# must list it here as _<name>_SUBDIRS_<dir> and either define the
-# directories one by one or use $(SUBDIRS) to use default to that
-# Makefile. Otherwise, ./prepare cannot create correct Makefile.am.
+# must list it here as _<name>_SUBDIRS_<dir>. To define all sub
+# directories use $(COMMONDIRS) that must be defined in the Makefile
+# and list all subdirs.
#
# Example:
#
# _xyz_SUBDIRS=lib irssi doc includes
-# _xyz_SUBDIRS_lib=$(SUBDIRS)
+# _xyz_SUBDIRS_lib=$(COMMONDIRS)
# _xyz_DISTLABEL=SILC_DIST_XYZ
#
# To prepare the distribution give command ./prepare xyz 1.0.4
#
_toolkit_SUBDIRS=lib irssi silc silcd doc includes
-_toolkit_SUBDIRS_lib=$(SUBDIRS)
+_toolkit_SUBDIRS_lib=$(COMMONDIRS)
_toolkit_DISTLABEL=SILC_DIST_TOOLKIT
_client_SUBDIRS=lib irssi doc includes
-_client_SUBDIRS_lib=$(SUBDIRS)
+_client_SUBDIRS_lib=contrib silccore silccrypt silcsim silcmath silcske silcutil trq silcclient
_client_DISTLABEL=SILC_DIST_CLIENT
_server_SUBDIRS=lib silcd doc includes
#
# Author: Pekka Riikonen <priikone@poseidon.pspt.fi>
#
-# Copyright (C) 2000 Pekka Riikonen
+# 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
AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign
+COMMONDIRS =
+SUBDIRS = SILC_DISTRIBUTION_SUBDIRS
+DIST_SUBDIRS = SILC_DISTRIBUTION_SUBDIRS
+
all:
touch draft-riikonen-silc-spec-02.txt
touch draft-riikonen-silc-pp-02.txt
touch draft-riikonen-silc-commands-00.txt
-cd ..
+if SILC_DIST_CLIENT
+dist-hook:
+else
dist-hook:
touch draft-riikonen-silc-spec-02.txt
touch draft-riikonen-silc-pp-02.txt
draft-riikonen-silc-ke-auth-02.txt
./makerfc draft-riikonen-silc-commands-00.nroff \
draft-riikonen-silc-commands-00.txt
+endif
EXTRA_DIST = \
CodingStyle \
silcmath \
silcske \
silcutil \
+ silcclient \
dotconf \
trq
# zlib
-if SILC_DIST_CLIENT
-SUBDIRS = $(COMMONDIRS) silcclient
-else
-SUBDIRS = $(COMMONDIRS)
-endif
-
+SUBDIRS = SILC_DISTRIBUTION_SUBDIRS
DIST_SUBDIRS = SILC_DISTRIBUTION_SUBDIRS
# SILC Library dirs
# SILC Distribution versions. Set here or give the version on the command
# line as argument.
#
-SILC_VERSION=0.2.6 # Base version
+SILC_VERSION=0.3 # Base version
#############################################################################
continue;
fi
if [ -f Makefile.am.pre ]; then
- sed -e "/SILC_DISTRIBUTION_SUBDIRS/s//$sub/" Makefile.am.pre >Makefile.am 2>/dev/null
+ sed -e "/SILC_DISTRIBUTION_SUBDIRS/s//$sub/" -e "/SILC_DISTRIBUTION_SUBDIRS/s//$sub/" Makefile.am.pre >Makefile.am 2>/dev/null
fi
cd $path
done