[tracker] docs: Delete ontology graph tool



commit 80f18a67b4e97d31358406c0392f5e76ded250a8
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Jun 29 20:30:43 2015 +0200

    docs: Delete ontology graph tool
    
    This is now unused, so remove the tool, and the configure.ac check
    for fdp.

 configure.ac                        |   12 -
 docs/reference/ontology/Makefile.am |    6 -
 docs/tools/Makefile.am              |    5 +-
 docs/tools/generate-ontology.sh     |   23 --
 docs/tools/ontology-graph.c         |  676 -----------------------------------
 5 files changed, 1 insertions(+), 721 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 21cbafb..ee6156b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -672,18 +672,6 @@ AM_CONDITIONAL([ENABLE_GTK_DOC], test "x$enable_gtk_doc" = xyes)
 AM_CONDITIONAL([ENABLE_GTK_DOC], false)
 ])
 
-if test "x$enable_gtk_doc" != xno; then
-   # Check for graphviz if we are building gtk_doc
-   AC_PATH_PROG(GRAPHVIZ_FDP, fdp)
-   AC_SUBST(GRAPHVIZ_FDP)
-
-   if test -z "$GRAPHVIZ_FDP"; then
-      AC_MSG_ERROR([Couldn't find Graphviz's fdp tool (graphviz).])
-   fi
-fi
-
-AM_CONDITIONAL(HAVE_GRAPHVIZ_FDP, test -n "$GRAPHVIZ_FDP")
-
 ####################################################################
 # Check if we should install Windows specific binaries
 ####################################################################
diff --git a/docs/reference/ontology/Makefile.am b/docs/reference/ontology/Makefile.am
index 4e451c4..5103de6 100644
--- a/docs/reference/ontology/Makefile.am
+++ b/docs/reference/ontology/Makefile.am
@@ -1,11 +1,5 @@
 AUTOMAKE_OPTIONS = 1.6
 
-# Generation of ontology.png using ontology-graph
-ontology.png:
-       $(top_builddir)/docs/tools/ontology-graph -d $(top_srcdir)/src/ontologies -o ontology.dot
-       $(AM_V_GEN) $(GRAPHVIZ_FDP) -Tpng -o $@ ontology.dot
-       rm ontology.dot
-
 # Generation of the additional PNG files from DIA files
 #  (list of original '.dia' files with '.png' extension)
 ONTOLOGY_DIAGRAMS =                                    \
diff --git a/docs/tools/Makefile.am b/docs/tools/Makefile.am
index 0949b94..0c73848 100644
--- a/docs/tools/Makefile.am
+++ b/docs/tools/Makefile.am
@@ -1,4 +1,4 @@
-noinst_PROGRAMS = ontology-graph ttl2sgml ttlresource2sgml
+noinst_PROGRAMS = ttl2sgml ttlresource2sgml
 
 AM_CPPFLAGS =                                          \
        $(BUILD_CFLAGS)                                \
@@ -14,9 +14,6 @@ LDADD =                                                \
        $(LIBTRACKER_DATA_LIBS) \
        $(BUILD_LIBS)
 
-ontology_graph_SOURCES =                               \
-       ontology-graph.c
-
 TTL_LOADER_FILES =                                     \
        ttl_loader.c                                   \
        ttl_loader.h                                   \


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