Moved silcer/, silc/, silcd/ and irssi/ to apps/. This finalizes
authorPekka Riikonen <priikone@silcnet.org>
Mon, 25 Apr 2005 11:27:42 +0000 (11:27 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Mon, 25 Apr 2005 11:27:42 +0000 (11:27 +0000)
the major restructuring of CVS tree.

CHANGES
Makefile.ad
apps/Makefile.ad
apps/irssi/src/fe-text/Makefile.am
apps/silcd/configure.ad
configure.ad
distdir/common
distdir/default
distdir/pre-run
distdir/server
distdir/toolkit

diff --git a/CHANGES b/CHANGES
index 0ef111161cab2c84db546ed53bfc1bc30360c153..32546b970b09ee653dd8eb1a48b7cb727e0c604a 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,8 @@
+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.
index e76466de5db6f39a2c5ff02e91e4aed6968bc34e..439941c0d01ac1a94243ea139b1e1c296b407859 100644 (file)
 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
@@ -44,9 +37,6 @@ SUBDIRS =             \
 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
@@ -83,15 +73,15 @@ install-dirs-client: install-dirs
        -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
index 0a01a55fa81b9f00f3f70f98dc651094d599fe8d..52ad02066ce0ceb76fc012159f4d9aa6f339f30a 100644 (file)
@@ -19,5 +19,12 @@ AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign
 
 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
+
index 02cb3dd807e0caf2caa86bce895c2a587aeb6270..2b248696ef2e148489214b41310b217513e9e01a 100644 (file)
@@ -19,7 +19,7 @@ silc_DEPENDENCIES =           \
 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@ \
index d758333b066f6fa7490212ea567f139e77a72f3b..bb07752832ba34ef551708c69f39f6d99d4758b9 100644 (file)
@@ -1,6 +1,6 @@
 #ifdef SILC_DIST_SERVER
 #
-#  silcd/configure.ad
+#  apps/silcd/configure.ad
 #
 #  Author: Pekka Riikonen <priikone@silcnet.org>
 #
@@ -69,7 +69,7 @@ AC_SUBST(PIDFILE)
 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
index b9ff4180af39f16a684e2fd14d9c08b6ac234335..6543952c11499ca6de488ce5708a7e703ae0fc6d 100644 (file)
@@ -1070,7 +1070,7 @@ AM_CONDITIONAL(SILC_ENABLE_SHARED, test "$enable_shared" = yes)
 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
@@ -1133,8 +1133,8 @@ if test x$without_irssi = xfalse ; then
 #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
@@ -1143,7 +1143,6 @@ fi
 
 #ifdef SILC_DIST_TOOLKIT
 AC_CONFIG_FILES(
-silc/Makefile
 win32/Makefile
 win32/libsilc/Makefile
 win32/libsilcclient/Makefile
index 9544165139d46d88234a47954765dc174f7e1807..af1cfad2847c700cf9429dbca67196b64261ff4d 100644 (file)
@@ -1,6 +1,7 @@
 # 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
index d014c2d2ba1a2237eb3c9e8a52c468209b7b625a..c58d4036c8fc4ab0cbdcc009af5f650d0c51a0e7 100644 (file)
@@ -10,10 +10,12 @@ option no-dist
 # 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
index cc716ca107c32821b8f234549aca6305f16540b8..7b9df250fab52f5495ab20380cb02a96779b4fae 100644 (file)
@@ -6,13 +6,14 @@ package=$3
 
 # 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
index 97f82d34e955ca1e3a8674a994a36f4c22fe758a..1ca33264dbd6af11f037c7780fd9f759a31ddae1 100644 (file)
@@ -4,7 +4,7 @@ bug-report silc-devel@lists.silcnet.org
 
 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
index ebc4ca7b34bcfd875047bc424e285e79950d108b..0a727425ff491be3cf2fd624ebe842618785f485 100644 (file)
@@ -4,15 +4,18 @@ bug-report silc-devel@lists.silcnet.org
 
 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