From f9157fd91db9140adacc4d7cd9af5677e4f0163e Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sun, 8 Apr 2018 14:44:14 +0200 Subject: [PATCH] configure: Don't use AM_MAINTAINER_MODE by default That macro disables automated updates when configure.ac or a Makefile.am changes. Normally those updates are wanted because users typically forget running ./autogen.sh. See also the GNU documentation why AM_MAINTAINER_MODE should not be used: https://www.gnu.org/software/automake/manual/html_node/maintainer_002dmode.html Signed-off-by: Stefan Weil --- configure.ac | 1 - doc/Makefile.am | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 9ab6dcbf85..c4a6ca6875 100644 --- a/configure.ac +++ b/configure.ac @@ -65,7 +65,6 @@ AC_SUBST([GENERIC_RELEASE]) AC_SUBST([GENERIC_VERSION]) AC_CONFIG_HEADERS([config_auto.h:config/config.h.in]) -AM_MAINTAINER_MODE # default conditional AM_CONDITIONAL([T_WIN], false) diff --git a/doc/Makefile.am b/doc/Makefile.am index d2e7b9333f..e016eff2d8 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,4 +1,4 @@ -if MAINTAINER_MODE +# doc/Makefile.am asciidoc=asciidoc -d manpage @@ -28,5 +28,3 @@ man_MANS = \ $(asciidoc) -o $@ $< MAINTAINERCLEANFILES = $(man_MANS) Doxyfile - -endif # MAINTAINER_MODE