From: Uwe Hermann Date: Sun, 20 Jan 2013 20:46:42 +0000 (+0100) Subject: Minor autotools improvements. X-Git-Tag: libsigrokdecode-0.1.1~4 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=1c9ac10f4b2c6e83184fe29bd32e090fcac211e7;p=libsigrokdecode.git 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). --- 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])