From f6e129959e97bfe1b86598b6ab07b951d2ad6ccc Mon Sep 17 00:00:00 2001
From: Oleg Hahm <oleg@hobbykeller.org>
Date: Fri, 8 Feb 2013 19:34:07 +0100
Subject: [PATCH] * created a target to build the documentation

---
 dist/makefile                                  | 3 +++
 doc/doxygen/makefile                           | 3 +++
 doc/doxygen/{ukleos.doxyfile => riot.doxyfile} | 0
 makefile                                       | 3 ++-
 4 files changed, 8 insertions(+), 1 deletion(-)
 create mode 100644 doc/doxygen/makefile
 rename doc/doxygen/{ukleos.doxyfile => riot.doxyfile} (100%)

diff --git a/dist/makefile b/dist/makefile
index 33919a7b18..97a69a87c0 100644
--- a/dist/makefile
+++ b/dist/makefile
@@ -117,3 +117,6 @@ flash: all
 
 term:
 	$(TERM) $(PORT)
+
+doc:
+	make -BC $(RIOTBASE) doc
diff --git a/doc/doxygen/makefile b/doc/doxygen/makefile
new file mode 100644
index 0000000000..7150229df4
--- /dev/null
+++ b/doc/doxygen/makefile
@@ -0,0 +1,3 @@
+doc:
+	doxygen riot.doxyfile
+
diff --git a/doc/doxygen/ukleos.doxyfile b/doc/doxygen/riot.doxyfile
similarity index 100%
rename from doc/doxygen/ukleos.doxyfile
rename to doc/doxygen/riot.doxyfile
diff --git a/makefile b/makefile
index 88fd8667a2..3ee0eb7bc0 100644
--- a/makefile
+++ b/makefile
@@ -6,4 +6,5 @@ all:
 clean:
 	@for i in $(DIRS) ; do $(MAKE) -C $$i clean ; done ;
 
-	
+doc:
+	make -BC doc/doxygen	
-- 
GitLab