configure: added --disable-documentation. Thanks to Michele Orru.

This commit is contained in:
Ole Tange 2014-06-16 23:34:25 +02:00
parent 613d34cf89
commit a18bbc7883
2 changed files with 10 additions and 0 deletions

View file

@ -5,4 +5,11 @@ AC_CONFIG_FILES([
Makefile
src/Makefile
])
AC_ARG_ENABLE(documentation,
AC_HELP_STRING([--disable-documentation],
[Omit building and installing the documentation. (default=no)]),,
[enable_documentation=yes])
AM_CONDITIONAL([DOCUMENTATION], [test x$enable_documentation = xyes])
AC_OUTPUT

View file

@ -1,6 +1,9 @@
bin_SCRIPTS = parallel sem sql niceload
if DOCUMENTATION
man_MANS = parallel.1 sem.1 sql.1 niceload.1 parallel_tutorial.1
doc_DATA = parallel.html sem.html sql.html niceload.html parallel_tutorial.html parallel.texi sem.texi sql.texi niceload.texi parallel_tutorial.texi parallel.pdf sem.pdf sql.pdf niceload.pdf parallel_tutorial.pdf
endif
# Build documentation file if the tool to build exists.
# Otherwise: Use the distributed version