build: Use AM_DISTCHECK_CONFIGURE_FLAGS rather than unprefixed version

Since automake 1.11.2, it’s recommended to use the prefixed version and
leave the unprefixed version for users to override. Since we depend on
automake 1.13.3, we should be doing this.

Based on a patch by Sam Spilsbury <smspillaz@gmail.com>.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall 2017-11-23 16:37:00 +00:00
parent 2e5bb92de6
commit 1969af3e8c

View File

@ -149,7 +149,7 @@ valgrinddir = $(datadir)/glib-2.0/valgrind
dist_valgrind_DATA = glib.supp
# build documentation when doing distcheck
DISTCHECK_CONFIGURE_FLAGS = --enable-debug --enable-gtk-doc --enable-man --disable-maintainer-mode
AM_DISTCHECK_CONFIGURE_FLAGS = --enable-debug --enable-gtk-doc --enable-man --disable-maintainer-mode
DISTCLEANFILES += config.lt