mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-22 05:57:54 +00:00
configure: added --disable-documentation. Thanks to Michele Orru.
This commit is contained in:
parent
613d34cf89
commit
a18bbc7883
|
@ -5,4 +5,11 @@ AC_CONFIG_FILES([
|
||||||
Makefile
|
Makefile
|
||||||
src/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
|
AC_OUTPUT
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
bin_SCRIPTS = parallel sem sql niceload
|
bin_SCRIPTS = parallel sem sql niceload
|
||||||
|
|
||||||
|
if DOCUMENTATION
|
||||||
man_MANS = parallel.1 sem.1 sql.1 niceload.1 parallel_tutorial.1
|
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
|
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.
|
# Build documentation file if the tool to build exists.
|
||||||
# Otherwise: Use the distributed version
|
# Otherwise: Use the distributed version
|
||||||
|
|
Loading…
Reference in a new issue