Build the docs directory last
authorThomas Wood <thomas.wood@intel.com>
Tue, 14 Oct 2014 12:46:57 +0000 (13:46 +0100)
committerThomas Wood <thomas.wood@intel.com>
Thu, 6 Nov 2014 13:24:30 +0000 (13:24 +0000)
Ensure that other components are built before generating the
documentation.

v2: build the docs directory after any optional directories

Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Makefile.am

index 1dacb17..4f71a3a 100644 (file)
@@ -21,7 +21,7 @@
 
 ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} -I m4
 
-SUBDIRS = docs lib man tools scripts benchmarks demos overlay
+SUBDIRS = lib man tools scripts benchmarks demos overlay
 
 if BUILD_ASSEMBLER
 SUBDIRS += assembler
@@ -35,6 +35,8 @@ if BUILD_TESTS
 SUBDIRS += tests
 endif
 
+SUBDIRS += docs
+
 MAINTAINERCLEANFILES = ChangeLog INSTALL
 
 .PHONY: ChangeLog INSTALL