[tracker] Add notation image to the documentation



commit 050ced68fbc9adee569de696eeb9e835aa5f45f1
Author: Ivan Frade <ivan frade nokia com>
Date:   Wed Jan 27 16:43:23 2010 +0200

    Add notation image to the documentation
    
    Generated using dia.

 docs/reference/ontology/Makefile.am        |    2 +-
 docs/reference/ontology/ontology-docs.sgml |   12 ++++++++++++
 docs/tools/Makefile.am                     |   11 ++++++++++-
 3 files changed, 23 insertions(+), 2 deletions(-)
---
diff --git a/docs/reference/ontology/Makefile.am b/docs/reference/ontology/Makefile.am
index 4fdc654..ee2a7cc 100644
--- a/docs/reference/ontology/Makefile.am
+++ b/docs/reference/ontology/Makefile.am
@@ -34,7 +34,7 @@ content_files =						\
 expand_content_files =
 
 # Images to copy into HTML directory
-HTML_IMAGES = ontology.png
+HTML_IMAGES = ontology.png notation.png
 
 # Extra options to supply to gtkdoc-fixref
 FIXXREF_OPTIONS =
diff --git a/docs/reference/ontology/ontology-docs.sgml b/docs/reference/ontology/ontology-docs.sgml
index e9a6d13..cf1ca18 100644
--- a/docs/reference/ontology/ontology-docs.sgml
+++ b/docs/reference/ontology/ontology-docs.sgml
@@ -58,6 +58,18 @@
     &scal-ontology;
   </part>
 
+  <part id="ontology-notation-description">
+    <title>Notation</title>
+    <partintro>
+      Notation used in the diagrams describing each ontology. 
+    </partintro>
+    <figure id="ontology-notation">
+      <title>Notation for ontology description</title>
+      <graphic fileref="notation.png" format="PNG"></graphic>
+    </figure>
+  </part>
+
+
   <part id="ontology-graphs">
     <title>The big picture</title>
     <partintro>
diff --git a/docs/tools/Makefile.am b/docs/tools/Makefile.am
index 58bd27d..0667134 100644
--- a/docs/tools/Makefile.am
+++ b/docs/tools/Makefile.am
@@ -51,8 +51,16 @@ ontology.png: ontology.dot
 	$(AM_V_GEN)$(GRAPHVIZ_FDP) -Tpng -o ontology.png ontology.dot
 	cp ontology.png $(top_builddir)/docs/reference/ontology/
 
+notation.png: 								
+	dia -t png ../ontologies/notation.dia 				
+	cp notation.png $(top_builddir)/docs/reference/ontology/
+
+resources:
+	cp `find $(top_builddir)/docs/ontologies -name "*.dia"` /tmp
+
 BUILT_SOURCES = 							\
 	ontology.png							\
+	notation.png							\
 	gen-doc.stamp
 
 EXTRA_DIST = 								\
@@ -61,8 +69,9 @@ EXTRA_DIST = 								\
 
 DISTCLEANFILES = 							\
 	ontology.dot							\
+	$(top_builddir)/docs/reference/ontology/notation.png		\
 	$(top_builddir)/docs/reference/ontology/ontology.png
 
 CLEANFILES = $(BUILT_SOURCES)
 
-make-hook: ontology-graph ontology.dot ontology.png
+make-hook: ontology-graph ontology.dot ontology.png notation.png resources



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]