Commit f9157fd91d changed the rules for
the documentation, so make always tried to build it and failed if
asciidoc was missing since that commit.
Now configure tests whether asciidoc is available and builds the
documentation conditionally. It also reports that to the user.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
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>
It must also include man_MANS – otherwise make tries to build the
man pages also in non maintainer mode without having a rule for that.
This fixes commit 2794410c9b.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Those files can be built by doc/generate_manpages.sh.
The manpages are needed for the installation,
so add Makefile rules for them.
Git must ignore the generated manpages.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This is what was required to get 'make-dist' to work. I left autogen alone
since it works, albeit with an error message. My practice packages appear
to work fine.