build: Fix the build without documentation
Just key everything of gtk-doc.
This commit is contained in:
parent
1ec7c30408
commit
9c79b352a1
|
|
@ -89,5 +89,3 @@ ostree_SOURCES += \
|
||||||
ostree_CFLAGS += $(OT_INTERNAL_SOUP_CFLAGS)
|
ostree_CFLAGS += $(OT_INTERNAL_SOUP_CFLAGS)
|
||||||
ostree_LDADD += $(OT_INTERNAL_SOUP_LIBS)
|
ostree_LDADD += $(OT_INTERNAL_SOUP_LIBS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
MANPAGES += doc/ostree.1
|
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ endif
|
||||||
|
|
||||||
SUBDIRS += .
|
SUBDIRS += .
|
||||||
|
|
||||||
if BUILD_DOCUMENTATION
|
if ENABLE_GTK_DOC
|
||||||
SUBDIRS += doc
|
SUBDIRS += doc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
12
configure.ac
12
configure.ac
|
|
@ -83,18 +83,8 @@ AM_CONDITIONAL(BUILDOPT_INTROSPECTION, test x$found_introspection = xyes)
|
||||||
|
|
||||||
LIBARCHIVE_DEPENDENCY="libarchive >= 2.8.0"
|
LIBARCHIVE_DEPENDENCY="libarchive >= 2.8.0"
|
||||||
|
|
||||||
AC_ARG_ENABLE(documentation,
|
|
||||||
AC_HELP_STRING([--enable-documentation],
|
|
||||||
[build documentation]),,
|
|
||||||
enable_documentation=yes)
|
|
||||||
AS_IF([test x$enable_documentation = xyes], [
|
|
||||||
AC_PATH_PROG([XSLTPROC], [xsltproc])
|
|
||||||
AS_IF([test x$XSLTPROC = x], [
|
|
||||||
AC_MSG_ERROR([xsltproc is required to build documentation])
|
|
||||||
])
|
|
||||||
GTK_DOC_CHECK([1.15], [--flavour no-tmpl])
|
GTK_DOC_CHECK([1.15], [--flavour no-tmpl])
|
||||||
])
|
AC_PATH_PROG([XSLTPROC], [xsltproc])
|
||||||
AM_CONDITIONAL(BUILD_DOCUMENTATION, test x$enable_documentation = xyes)
|
|
||||||
|
|
||||||
AC_ARG_WITH(libarchive,
|
AC_ARG_WITH(libarchive,
|
||||||
AS_HELP_STRING([--without-libarchive], [Do not use libarchive]),
|
AS_HELP_STRING([--without-libarchive], [Do not use libarchive]),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue