validate: Make sphinx documentation generation optionnal
This commit is contained in:
parent
3ff59368f0
commit
07391578c9
@ -102,6 +102,10 @@ dnl check for documentation tools
|
||||
AG_GST_DOCBOOK_CHECK
|
||||
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 header files ***
|
||||
|
@ -1,5 +1,10 @@
|
||||
SUBDIRS = validate launcher
|
||||
DIST_SUBDIRS = validate launcher
|
||||
SUBDIRS = validate
|
||||
DIST_SUBDIRS = validate
|
||||
|
||||
if HAVE_SPHINHX
|
||||
SUBDIRS += launcher
|
||||
DIST_SUBDIRS += launcher
|
||||
endif
|
||||
|
||||
upload:
|
||||
@if test "x$(SUBDIRS)" != x; then for a in $(SUBDIRS); do cd $$a; make upload; cd ..; done; fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user