doc: Improve build speed, disable doc's widgets build
authorJean-Philippe Andre <jp.andre@samsung.com>
Tue, 31 Mar 2015 03:17:23 +0000 (12:17 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 31 Mar 2015 03:28:11 +0000 (12:28 +0900)
Building the widget_preview_xxx programs takes a while and should
be required only when rebuilding the doc. Arguably breaking something
in elm may break only the widget-preview build but I believe this is
a rare case.

This speeds up a regular elm build by >20s on my machine.

doc/Makefile.am

index 953809c..ea03318 100644 (file)
@@ -1,4 +1,4 @@
-SUBDIRS = widgets
+#SUBDIRS = widgets
 
 MAINTAINERCLEANFILES = Makefile.in
 
@@ -191,7 +191,7 @@ widget-tree-figures: doc
 doc-clean:
        rm -rf img/widget html/ latex/ man/ xml/ $(top_builddir)/$(PACKAGE_DOCNAME).tar*
 
-gen-doc:
+gen-doc: widget-preview
        $(efl_doxygen)
        cp -r $(srcdir)/img/* html/
        cp -r $(srcdir)/img/* latex/