Skip to content

Commit

Permalink
configure: Don't use AM_MAINTAINER_MODE by default
Browse files Browse the repository at this point in the history
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 <sw@weilnetz.de>
  • Loading branch information
stweil committed Apr 8, 2018
1 parent 10f4998 commit f9157fd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 1 addition & 3 deletions doc/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if MAINTAINER_MODE
# doc/Makefile.am

asciidoc=asciidoc -d manpage

Expand Down Expand Up @@ -28,5 +28,3 @@ man_MANS = \
$(asciidoc) -o $@ $<

MAINTAINERCLEANFILES = $(man_MANS) Doxyfile

endif # MAINTAINER_MODE

0 comments on commit f9157fd

Please sign in to comment.