build: More options for Automake

Require automake >= 1.10, and add the following options:

  » dist-bzip2: create a bz2 tarball in the dist process
  » check-news: check that we changed the NEWS file prior to dist,
    to avoid another release without NEWS updates, like 1.1.10
This commit is contained in:
Emmanuele Bassi 2010-02-26 15:00:47 +00:00
parent e0f04efa41
commit c8c62af0cf

View File

@ -56,7 +56,7 @@ AC_CONFIG_HEADERS([config.h])
AC_CONFIG_AUX_DIR([build]) AC_CONFIG_AUX_DIR([build])
AC_CONFIG_MACRO_DIR([build/autotools]) AC_CONFIG_MACRO_DIR([build/autotools])
AM_INIT_AUTOMAKE([1.9.6 foreign -Wno-portability no-define]) AM_INIT_AUTOMAKE([1.10 foreign -Wno-portability no-define dist-bzip2 check-news])
CLUTTER_MAJOR_VERSION=clutter_major_version CLUTTER_MAJOR_VERSION=clutter_major_version
CLUTTER_MINOR_VERSION=clutter_minor_version CLUTTER_MINOR_VERSION=clutter_minor_version