summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2013-01-20 21:46:42 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2013-01-27 17:53:56 +0100
commit1c9ac10f4b2c6e83184fe29bd32e090fcac211e7 (patch)
tree8ef7aa806ce012599e87c67ad6cc40a58797e5d4
parent322c6b2fb36aaa38967ca797acef0ebb1f3090e6 (diff)
downloadlibsigrokdecode-1c9ac10f4b2c6e83184fe29bd32e090fcac211e7.tar.gz
libsigrokdecode-1c9ac10f4b2c6e83184fe29bd32e090fcac211e7.zip
Minor autotools improvements.
- Don't use "foreign" option for automake. Without this automake will perform some additional sanity checks e.g. on missing files. It will also now add the usual INSTALL file which documents the configure options etc. - Add AUTHORS file. - Add 'check-news' automake option, which will abort 'make dist' if the NEWS file doesn't list the current (to be released) package version at the top (i.e., if we forget to update NEWS).
-rw-r--r--AUTHORS7
-rwxr-xr-xautogen.sh2
-rw-r--r--configure.ac2
3 files changed, 9 insertions, 2 deletions
diff --git a/AUTHORS b/AUTHORS
new file mode 100644
index 0000000..28c1b20
--- /dev/null
+++ b/AUTHORS
@@ -0,0 +1,7 @@
+-------------------------------------------------------------------------------
+AUTHORS
+-------------------------------------------------------------------------------
+
+Please check the source code files and/or git history and/or ChangeLog for
+a list of all authors and contributors.
+
diff --git a/autogen.sh b/autogen.sh
index 8185af0..d760233 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -55,6 +55,6 @@ echo "Generating build system..."
${LIBTOOLIZE} --install --copy --quiet || exit 1
aclocal ${ACLOCAL_DIR} || exit 1
autoheader || exit 1
-automake --add-missing --copy --foreign || exit 1
+automake --add-missing --copy || exit 1
autoconf || exit 1
diff --git a/configure.ac b/configure.ac
index 854e87f..ffb6d84 100644
--- a/configure.ac
+++ b/configure.ac
@@ -34,7 +34,7 @@ AC_CONFIG_MACRO_DIR([autostuff])
AC_CONFIG_AUX_DIR([autostuff])
# We require at least automake 1.11 (needed for 'silent rules').
-AM_INIT_AUTOMAKE([1.11 -Wall -Werror foreign std-options])
+AM_INIT_AUTOMAKE([1.11 -Wall -Werror std-options check-news])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])