Patchwork [core,3/5] Makefile: generate "oe autodoc" documentation

login
register
mail settings
Submitter kim.hansen@prevas.dk
Date Nov. 11, 2013, 2:25 p.m.
Message ID <1384179914-16049-3-git-send-email-kim.hansen@prevas.dk>
Download mbox | patch
Permalink /patch/290305/
State Accepted
Delegated to: Esben Haabendal
Headers show

Comments

kim.hansen@prevas.dk - Nov. 11, 2013, 2:25 p.m.
From: Kim Højgaard-Hansen <kiho@prevas.dk>

---
 doc/Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
Esben Haabendal - Nov. 27, 2013, 2:01 p.m.
Merged to master, thanks.

/Esben

Patch

diff --git a/doc/Makefile b/doc/Makefile
index d6aff95..83bd6a6 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -1,9 +1,13 @@ 
 .PHONY: all
-all: manual.html
+all: autodoc manual.html
 
 .PHONY: clean
 clean:
-	rm -f *.html
+	rm -Rf *.html auto/
+
+autodoc: FORCE
+	oe autodoc meta/core
+FORCE:
 
 manual.html: $(wildcard *.txt)
 	asciidoc -b html5 manual.txt