From: mortenp Date: Tue, 12 Jun 2007 18:28:58 +0000 (+1000) Subject: Fixed build outside the source directory (Ansgar Burchardt) X-Git-Tag: RELEASE_1_2_15_RC1~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d28ebc4c07a4735bcb1d545c1eebe7785d29cd97;p=thirdparty%2Fmlmmj.git Fixed build outside the source directory (Ansgar Burchardt) --- diff --git a/ChangeLog b/ChangeLog index 96ef9fe3..f4a0d2b4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ + o Fixed build outside the source directory (Ansgar Burchardt) o Moved English listtexts and install all languages (Ansgar Burchardt) o Added encoding headers for German listtexts (Ansgar Burchardt) o Fixed missing exit()s in case of failed execl() calls (Ansgar Burchardt) diff --git a/Makefile.am b/Makefile.am index 17fc4c70..54c08daf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS = foreign dist-bzip2 EXTRA_DIST = include VERSION LICENSE UPGRADE src/log_error.c FAQ \ - TUNABLES README.access contrib man \ + TUNABLES README.access man \ README.exim4 README.sendmail README.security README.qmail CLEANFILES = *~ mlmmj-*.tar.* @@ -13,4 +13,4 @@ man1_MANS = man/mlmmj-bounce.1 man/mlmmj-make-ml.sh.1 man/mlmmj-recieve.1 \ man/mlmmj-sub.1 man/mlmmj-maintd.1 man/mlmmj-process.1 \ man/mlmmj-send.1 man/mlmmj-unsub.1 man/mlmmj-list.1 -SUBDIRS = src listtexts +SUBDIRS = src listtexts contrib diff --git a/configure.ac b/configure.ac index 72febd3f..8449b099 100644 --- a/configure.ac +++ b/configure.ac @@ -42,5 +42,6 @@ AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([src/Makefile]) AC_CONFIG_FILES([src/mlmmj-make-ml.sh]) AC_CONFIG_FILES([listtexts/Makefile]) +AC_CONFIG_FILES([contrib/Makefile]) AC_CONFIG_FILES([contrib/recievestrip/Makefile]) AC_OUTPUT diff --git a/contrib/Makefile.am b/contrib/Makefile.am new file mode 100644 index 00000000..dc4c348c --- /dev/null +++ b/contrib/Makefile.am @@ -0,0 +1,4 @@ +## Process this file with automake to produce Makefile.in + +EXTRA_DIST = web +SUBDIRS = recievestrip diff --git a/contrib/recievestrip/Makefile.am b/contrib/recievestrip/Makefile.am index 2088942b..94bb9e41 100644 --- a/contrib/recievestrip/Makefile.am +++ b/contrib/recievestrip/Makefile.am @@ -5,7 +5,7 @@ AUTOMAKE_OPTIONS = foreign AM_CFLAGS = -g -Wall -pedantic -Wsign-compare -DDEFAULTTEXTDIR='"@textlibdir@"' INCLUDES = -I$(srcdir)/../../include -bin_PROGRAMS = mlmmj-recieve-strip +noinst_PROGRAMS = mlmmj-recieve-strip mlmmj_recieve_strip_SOURCES = mlmmj-recieve-strip.c ../../src/mygetline.c ../../src/memory.c ../../src/readn.c \ ../../src/strgen.c ../../src/random-int.c ../../src/log_error.c ../../src/print-version.c \ diff --git a/include/mlmmj.h b/include/mlmmj.h index ed2e35df..7373d5a8 100644 --- a/include/mlmmj.h +++ b/include/mlmmj.h @@ -24,7 +24,7 @@ #ifndef MLMMJ_GENERIC_INCLUDES #define MLMMJ_GENERIC_INCLUDES -#include "../config.h" +#include "config.h" #define RELAYHOST "127.0.0.1" #define READ_BUFSIZE 2048 diff --git a/src/log_error.c b/src/log_error.c index 96a745a3..00a9fdc5 100644 --- a/src/log_error.c +++ b/src/log_error.c @@ -29,7 +29,7 @@ #include #include "log_error.h" -#include "../config.h" +#include "config.h" #include "memory.h" #ifdef HAVE_SYSLOG_H