changeset 649:5eef399f6c4a

Fixed build outside the source directory (Ansgar Burchardt)
author mortenp
date Wed, 13 Jun 2007 04:28:58 +1000
parents 4d0c6681916a
children 42598d737973
files ChangeLog Makefile.am configure.ac contrib/Makefile.am contrib/recievestrip/Makefile.am include/mlmmj.h src/log_error.c
diffstat 7 files changed, 11 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Jun 13 03:01:17 2007 +1000
+++ b/ChangeLog	Wed Jun 13 04:28:58 2007 +1000
@@ -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)
--- a/Makefile.am	Wed Jun 13 03:01:17 2007 +1000
+++ b/Makefile.am	Wed Jun 13 04:28:58 2007 +1000
@@ -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 @@
 	    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
--- a/configure.ac	Wed Jun 13 03:01:17 2007 +1000
+++ b/configure.ac	Wed Jun 13 04:28:58 2007 +1000
@@ -42,5 +42,6 @@
 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
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/contrib/Makefile.am	Wed Jun 13 04:28:58 2007 +1000
@@ -0,0 +1,4 @@
+## Process this file with automake to produce Makefile.in
+
+EXTRA_DIST = web
+SUBDIRS = recievestrip
--- a/contrib/recievestrip/Makefile.am	Wed Jun 13 03:01:17 2007 +1000
+++ b/contrib/recievestrip/Makefile.am	Wed Jun 13 04:28:58 2007 +1000
@@ -5,7 +5,7 @@
 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 \
--- a/include/mlmmj.h	Wed Jun 13 03:01:17 2007 +1000
+++ b/include/mlmmj.h	Wed Jun 13 04:28:58 2007 +1000
@@ -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
--- a/src/log_error.c	Wed Jun 13 03:01:17 2007 +1000
+++ b/src/log_error.c	Wed Jun 13 04:28:58 2007 +1000
@@ -29,7 +29,7 @@
 #include <unistd.h>
 
 #include "log_error.h"
-#include "../config.h"
+#include "config.h"
 #include "memory.h"
 
 #ifdef HAVE_SYSLOG_H