[lxc-devel] [PATCH 2/3] build: use foreign automake flavor.

Diego Elio Pettenò flameeyes at flameeyes.eu
Sat Mar 24 03:22:21 UTC 2012


This allows to stop keeping 0-sized files around just for the sake of
automake not complaining about them missing.

Signed-off-by: Diego Elio Pettenò <flameeyes at flameeyes.eu>
---
 Makefile.am  |    5 +----
 configure.ac |    2 +-
 2 files changed, 2 insertions(+), 5 deletions(-)
 delete mode 100644 NEWS
 delete mode 100644 RELEASE-NOTES

diff --git a/Makefile.am b/Makefile.am
index 887e300..4ca04a0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,13 +4,10 @@ ACLOCAL_AMFLAGS = -I config
 
 SUBDIRS = src templates doc
 DIST_SUBDIRS = config src templates doc
-EXTRA_DIST = autogen.sh lxc.spec CONTRIBUTING MAINTAINERS ChangeLog
+EXTRA_DIST = autogen.sh lxc.spec CONTRIBUTING MAINTAINERS
 
 pcdatadir = $(datadir)/pkgconfig
 pcdata_DATA = lxc.pc
 
-ChangeLog::
-	@touch ChangeLog
-
 rpm: dist
 	rpmbuild --clean -ta --define "ksrc ${LINUX_DIR}" ${distdir}.tar.gz
diff --git a/NEWS b/NEWS
deleted file mode 100644
index e69de29..0000000
diff --git a/RELEASE-NOTES b/RELEASE-NOTES
deleted file mode 100644
index e69de29..0000000
diff --git a/configure.ac b/configure.ac
index 8c0864a..9dc1c75 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,7 +6,7 @@ AC_INIT([lxc], [0.8.0-rc2])
 AC_CONFIG_SRCDIR([configure.ac])
 AC_CONFIG_AUX_DIR([config])
 AM_CONFIG_HEADER([src/config.h])
-AM_INIT_AUTOMAKE([-Wno-portability])
+AM_INIT_AUTOMAKE([-Wno-portability foreign])
 AC_CANONICAL_HOST
 AM_PROG_CC_C_O
 AC_GNU_SOURCE
-- 
1.7.8.5





More information about the lxc-devel mailing list