the major restructuring of CVS tree.
+Mon Apr 25 14:25:24 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
+
+ * Moved silcer/, silc/, silcd/ and irssi/ to apps/. This
+ finalizes the major restructuring of the CVS tree.
+
Mon Apr 25 00:39:30 EEST 2005 Pekka Riikonen <priikone@silcnet.org>
* Send empty MOTD reply if MOTD file cannot be read.
AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign
SUBDIRS = \
-#ifdef SILC_DIST_APPS
- apps \
-#endif SILC_DIST_APPS
#ifdef SILC_DIST_LIB
lib \
#endif SILC_DIST_LIB
-#ifdef SILC_DIST_CLIENT
- irssi \
-#endif SILC_DIST_CLIENT
-#ifdef SILC_DIST_SERVER
- silcd \
-#endif SILC_DIST_SERVER
+#ifdef SILC_DIST_APPS
+ apps \
+#endif SILC_DIST_APPS
#ifdef SILC_DIST_TOOLKIT
- silc \
win32 \
#endif SILC_DIST_TOOLKIT
#ifdef SILC_DIST_INCLUDES
EXTRA_DIST = \
silcdefs.h.in \
#ifdef SILC_DIST_SILC
-#ifdef SILC_DIST_TOOLKIT
- README.CVS README.WIN32 README.MACOSX silcer tutorial \
-#endif SILC_DIST_TOOLKIT
libtoolfix \
CHANGES CREDITS
#endif SILC_DIST_SILC
-mkdir -p $(mandir)/man1
doc-install-client: doc-install
- $(INSTALL_DATA) $(srcdir)/irssi/silc.conf $(docdir)/example_silc.conf
+ $(INSTALL_DATA) $(srcdir)/apps/irssi/silc.conf $(docdir)/example_silc.conf
-@if test -f $(srcdir)/doc/silc.1 ; then \
$(INSTALL_DATA) $(srcdir)/doc/silc.1 $(mandir)/man1; \
fi
etc-install-client:
- -@if test '!' -d $(srcdir)/irssi ; then \
+ -@if test '!' -d $(srcdir)/apps/irssi ; then \
if test '!' -f $(etcdir)/silc.conf ; then \
- $(INSTALL_DATA) $(srcdir)/irssi/silc.conf \
+ $(INSTALL_DATA) $(srcdir)/apps/irssi/silc.conf \
$(etcdir)/silc.conf; \
fi; \
fi
SUBDIRS = \
#ifdef SILC_DIST_AUTODIST
- autodist
+ autodist \
#endif SILC_DIST_AUTODIST
+#ifdef SILC_DIST_SERVER
+ silcd \
+#endif SILC_DIST_SERVER
+#ifdef SILC_DIST_CLIENT
+ irssi \
+#endif SILC_DIST_CLIENT
+
LIBS = $(SILC_COMMON_LIBS)
silc_LDADD = \
@COMMON_LIBS@ \
- -L../../../lib -lsilcclient \
+ -L$(silc_top_srcdir)/lib -lsilcclient \
@PERL_LINK_LIBS@ \
@PERL_FE_LINK_LIBS@ \
@PERL_LINK_FLAGS@ \
#ifdef SILC_DIST_SERVER
#
-# silcd/configure.ad
+# apps/silcd/configure.ad
#
# Author: Pekka Riikonen <priikone@silcnet.org>
#
if test x$without_silcd = xfalse ; then
#endif SILC_DIST_TOOLKIT
AC_CONFIG_FILES(
-silcd/Makefile
+apps/silcd/Makefile
doc/example_silcd.conf
)
#ifdef SILC_DIST_TOOLKIT
if test x$without_irssi = xfalse; then
#endif SILC_DIST_TOOLKIT
#ifdef SILC_DIST_CLIENT
- AC_CONFIG_SUBDIRS(irssi)
+ AC_CONFIG_SUBDIRS(apps/irssi)
irssi="yes"
#endif SILC_DIST_CLIENT
#ifdef SILC_DIST_TOOLKIT
#endif SILC_DIST_TOOLKIT
#ifdef SILC_DIST_CLIENT
AC_CONFIG_FILES(
-irssi/Makefile.defines
-irssi/Makefile.defines_int
+apps/irssi/Makefile.defines
+apps/irssi/Makefile.defines_int
)
#endif SILC_DIST_CLIENT
#ifdef SILC_DIST_TOOLKIT
#ifdef SILC_DIST_TOOLKIT
AC_CONFIG_FILES(
-silc/Makefile
win32/Makefile
win32/libsilc/Makefile
win32/libsilcclient/Makefile
# Common SILC source tree distdefs
option template
define SILC_DIST_SILC
+define SILC_DIST_APPS
define SILC_DIST_LIB
define SILC_DIST_INCLUDES
define SILC_DIST_DOC
# Default distribution for preparing raw CVS sources.
inherit common
inherit client
-#inherit server
+inherit server
inherit toolkit
-define SILC_DIST_SERVER
define SILC_DIST_INPLACE
+# SFTP is undefined in server, so force it here
+#define SILC_DIST_SFTP
+
pre-hook distdir/pre-run
# preparing irssi
echo "Preparing irssi"
-file=irssi/irssi-version.h.in
+cur=`pwd`
+file=apps/irssi/irssi-version.h.in
touch $file
-cd irssi
-ln -fs ../Makefile.defines.in Makefile.defines.in
-ln -fs ../Makefile.defines_int.in Makefile.defines_int.in
+cd apps/irssi
+ln -fs ../../Makefile.defines.in Makefile.defines.in
+ln -fs ../../Makefile.defines_int.in Makefile.defines_int.in
sh autogen.sh 2>/dev/null 1>/dev/null
-cd ..
+cd $cur
version_date=`date +%Y%m%d`
echo "/* automatically created by autogen.sh */" > $file
echo "#define IRSSI_VERSION \"$dist_version (Irssi base: @VERSION@ - SILC base: SILC $dist_version)\"" >>$file
inherit common
define SILC_DIST_SERVER
-undef SILC_DIST_SFTP
+#undef SILC_DIST_SFTP
post-process-dist-hook distdir/post-process-dist
post-dist-hook distdir/post-dist
inherit common
inherit client
-#inherit server
+inherit server
-define SILC_DIST_SERVER
define SILC_DIST_TOOLKIT
+# SFTP is undefined in server, so force it here
+#define SILC_DIST_SFTP
+
include README.CVS
include README.WIN32
include README.MACOSX
-include silcer
+include apps/silcer
+include apps/silc
include tutorial
pre-hook distdir/pre-run