diff options
author | Marcus Brinkmann <[email protected]> | 2017-06-19 11:31:10 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2017-06-19 11:31:10 +0000 |
commit | 859f9a9754708572a6289853d7d95b9ee3eae589 (patch) | |
tree | 97368b336a0543cb20caa98ad6b76237a363d30c /Makefile.am | |
parent | Use gpgrt_free to release memory allocated by gpgrt_asprintf. (diff) | |
download | libassuan-859f9a9754708572a6289853d7d95b9ee3eae589.tar.gz libassuan-859f9a9754708572a6289853d7d95b9ee3eae589.zip |
configure: Add flag to disable documentation build.
* configure.ac: Add new option --disable-doc.
(BUILD_DOC): New automake conditional.
* Makefile.am (SUBDIRS): Make doc optional based on BUILD_DOC.
(DISTCHECK_CONFIGURE_FLAGS): New variable.
Signed-Off-By: Marcus Brinkmann <[email protected]>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index fdfd791..4ffb113 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,6 +19,7 @@ ACLOCAL_AMFLAGS = -I m4 +DISTCHECK_CONFIGURE_FLAGS = --enable-doc # (A suitable gitlog-to-changelog script can be found in GnuPG master.) GITLOG_TO_CHANGELOG=gitlog-to-changelog @@ -28,7 +29,13 @@ EXTRA_DIST = autogen.sh autogen.rc README.GIT \ tests/ChangeLog-2011 contrib/ChangeLog-2011 \ build-aux/git-log-footer build-aux/git-log-fix -SUBDIRS = m4 src doc tests +if BUILD_DOC +doc = doc +else +doc = +endif + +SUBDIRS = m4 src $(doc) tests dist-hook: gen-ChangeLog |