mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
validate: Make sphinx documentation generation optionnal
This commit is contained in:
parent
3ff59368f0
commit
07391578c9
2 changed files with 11 additions and 2 deletions
|
@ -102,6 +102,10 @@ dnl check for documentation tools
|
||||||
AG_GST_DOCBOOK_CHECK
|
AG_GST_DOCBOOK_CHECK
|
||||||
GTK_DOC_CHECK([1.3])
|
GTK_DOC_CHECK([1.3])
|
||||||
|
|
||||||
|
|
||||||
|
AC_CHECK_PROG(enable_sphinx_doc, sphinx-build, yes, no)
|
||||||
|
AM_CONDITIONAL(HAVE_SPHINHX, test ! "x$enable_sphinx_doc" = "xno")
|
||||||
|
|
||||||
dnl *** checks for libraries ***
|
dnl *** checks for libraries ***
|
||||||
|
|
||||||
dnl *** checks for header files ***
|
dnl *** checks for header files ***
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
SUBDIRS = validate launcher
|
SUBDIRS = validate
|
||||||
DIST_SUBDIRS = validate launcher
|
DIST_SUBDIRS = validate
|
||||||
|
|
||||||
|
if HAVE_SPHINHX
|
||||||
|
SUBDIRS += launcher
|
||||||
|
DIST_SUBDIRS += launcher
|
||||||
|
endif
|
||||||
|
|
||||||
upload:
|
upload:
|
||||||
@if test "x$(SUBDIRS)" != x; then for a in $(SUBDIRS); do cd $$a; make upload; cd ..; done; fi
|
@if test "x$(SUBDIRS)" != x; then for a in $(SUBDIRS); do cd $$a; make upload; cd ..; done; fi
|
||||||
|
|
Loading…
Reference in a new issue