add option to disable --disable-heimdal-documentation

This commit is contained in:
Love Hörnquist Åstrand
2011-06-14 20:33:44 -07:00
parent 4a6fa9a979
commit ec35b8d4a2
2 changed files with 12 additions and 1 deletions

View File

@@ -7,7 +7,13 @@ kcm_dir = kcm
endif
SUBDIRS= include base lib kuser kdc admin kadmin kpasswd
SUBDIRS+= $(kcm_dir) appl doc tools tests packages etc po
SUBDIRS+= $(kcm_dir) appl tools tests packages etc po
if HEIMDAL_DOCUMENTATION
SUBDIRS+= doc
endif
## ACLOCAL = @ACLOCAL@ -I cf
ACLOCAL_AMFLAGS = -I cf

View File

@@ -598,6 +598,11 @@ AH_BOTTOM([#ifdef ROKEN_RENAME
#include "roken_rename.h"
#endif])
AC_ARG_ENABLE(heimdal-documentation,
AS_HELP_STRING([--disable-heimdal-documentation],
[if you want disable to heimdal documentation]))
AM_CONDITIONAL(HEIMDAL_DOCUMENTATION, test "$enable_heimdal_documentation" != no)
AC_CONFIG_FILES(Makefile \
etc/Makefile \
include/Makefile \