summaryrefslogtreecommitdiff
path: root/validate/docs
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@gnome.org>2014-09-06 12:34:39 +0200
committerThibault Saunier <tsaunier@gnome.org>2014-09-06 12:37:30 +0200
commit07391578c9de83223c3fa38e968f22defe3333a3 (patch)
treecb06a858090c2d658ed090d80b975b2d5d9b54d1 /validate/docs
parent3ff59368f0d551b988f1be71e0062fce5ed838aa (diff)
validate: Make sphinx documentation generation optionnal
Diffstat (limited to 'validate/docs')
-rw-r--r--validate/docs/Makefile.am9
1 files changed, 7 insertions, 2 deletions
diff --git a/validate/docs/Makefile.am b/validate/docs/Makefile.am
index d07e032..188b9dc 100644
--- a/validate/docs/Makefile.am
+++ b/validate/docs/Makefile.am
@@ -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