mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-14 20:22:21 +00:00
configure.ac: add --disable-docs option to disable doc building
Using this option to configure will disable the building of the dthelp and dtinfo documentation files.
This commit is contained in:
parent
2a988df4c3
commit
73c7cdd7fb
2 changed files with 12 additions and 1 deletions
|
@ -9,5 +9,9 @@ MAINTAINERCLEANFILES = Makefile.in \
|
|||
config.h.in \
|
||||
install-sh
|
||||
|
||||
SUBDIRS = util lib programs include doc
|
||||
SUBDIRS = util lib programs include
|
||||
|
||||
if BUILD_DOCS
|
||||
SUBDIRS += doc
|
||||
endif
|
||||
|
||||
|
|
|
@ -259,6 +259,13 @@ AC_ARG_ENABLE([misc-fixed],
|
|||
)
|
||||
AM_CONDITIONAL([MISC_FIXED], [test -n "$enable_misc_fixed"])
|
||||
|
||||
dnl Build the help and dtinfo docs?
|
||||
AC_ARG_ENABLE([docs],
|
||||
AS_HELP_STRING([--disable-docs], [Disable building help/dtinfo docs (default=no)]),
|
||||
[disable_docs="yes"], [disable_docs=""]
|
||||
)
|
||||
AM_CONDITIONAL([BUILD_DOCS], [test -z "$disable_docs"])
|
||||
|
||||
dnl hmmm...
|
||||
RM="rm -f"
|
||||
AC_SUBST(RM)
|
||||
|
|
Loading…
Reference in a new issue