[tracker/wip/carlosg/hotdoc: 20/40] tools: Rename docgen executable




commit 29e91409f93c14834869d327185a4534ff9d4752
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon May 31 00:58:34 2021 +0200

    tools: Rename docgen executable
    
    Give it a more generic name.

 docs/reference/ontology/meson.build      | 4 ++--
 docs/tools/meson.build                   | 4 ++--
 docs/tools/{ttl2xml.c => tracker-main.c} | 0
 3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/docs/reference/ontology/meson.build b/docs/reference/ontology/meson.build
index 2c36c91d6..b85e1bcfc 100644
--- a/docs/reference/ontology/meson.build
+++ b/docs/reference/ontology/meson.build
@@ -4,11 +4,11 @@ version_xml = configure_file(input: 'version.xml.in',
 
 generated = custom_target('ontology-doc-generated',
     output: 'gen-doc.stamp',
-    command: [ttl2xml,
+    command: [tracker_docgen,
               '-d', join_paths(source_root, 'src/ontologies/nepomuk'),
               '-o', join_paths(meson.current_build_dir(), 'xml/'),
               '-e', meson.current_source_dir()],
-    depends: ttl2xml,
+    depends: tracker_docgen,
     depend_files: nepomuk,
     build_by_default: true,
 )
diff --git a/docs/tools/meson.build b/docs/tools/meson.build
index 7dd5d0036..f7636d75c 100644
--- a/docs/tools/meson.build
+++ b/docs/tools/meson.build
@@ -4,12 +4,12 @@ doctool_gresources = gnome.compile_resources('tracker_doctool_gresources', 'dsc-
 
 doctool_files = [
     'tracker-docgen-xml.c',
+    'tracker-main.c',
     'tracker-ontology-model.c',
     'tracker-utils.c',
-    'ttl2xml.c',
 ]
 
-ttl2xml = executable('ttl2xml',
+tracker_docgen = executable('tracker-docgen',
     doctool_files,
     doctool_gresources,
     dependencies: [tracker_sparql_dep])
diff --git a/docs/tools/ttl2xml.c b/docs/tools/tracker-main.c
similarity index 100%
rename from docs/tools/ttl2xml.c
rename to docs/tools/tracker-main.c


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