[tracker/wip/carlosg/hotdoc: 21/47] docs: Rename code file




commit c3b82a97ea76aca188acac3379e728277f33acc5
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon May 31 00:54:56 2021 +0200

    docs: Rename code file
    
    Make the code filename more consistent with the rest of the
    Tracker tree, and account for multiple writers in the future.

 docs/tools/meson.build                         | 2 +-
 docs/tools/{ttl_xml.c => tracker-docgen-xml.c} | 2 +-
 docs/tools/{ttl_xml.h => tracker-docgen-xml.h} | 0
 docs/tools/ttl2xml.c                           | 2 +-
 4 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/docs/tools/meson.build b/docs/tools/meson.build
index c46cb732a..7dd5d0036 100644
--- a/docs/tools/meson.build
+++ b/docs/tools/meson.build
@@ -3,9 +3,9 @@
 doctool_gresources = gnome.compile_resources('tracker_doctool_gresources', 'dsc-ontology.gresource.xml')
 
 doctool_files = [
+    'tracker-docgen-xml.c',
     'tracker-ontology-model.c',
     'tracker-utils.c',
-    'ttl_xml.c',
     'ttl2xml.c',
 ]
 
diff --git a/docs/tools/ttl_xml.c b/docs/tools/tracker-docgen-xml.c
similarity index 99%
rename from docs/tools/ttl_xml.c
rename to docs/tools/tracker-docgen-xml.c
index 87906c04d..c95ca89e7 100644
--- a/docs/tools/ttl_xml.c
+++ b/docs/tools/tracker-docgen-xml.c
@@ -20,8 +20,8 @@
 #include <glib/gprintf.h>
 #include <gio/gio.h>
 
+#include "tracker-docgen-xml.h"
 #include "tracker-utils.h"
-#include "ttl_xml.h"
 
 typedef struct {
        TrackerOntologyModel *model;
diff --git a/docs/tools/ttl_xml.h b/docs/tools/tracker-docgen-xml.h
similarity index 100%
rename from docs/tools/ttl_xml.h
rename to docs/tools/tracker-docgen-xml.h
diff --git a/docs/tools/ttl2xml.c b/docs/tools/ttl2xml.c
index 655e1ef10..fcdfed8a8 100644
--- a/docs/tools/ttl2xml.c
+++ b/docs/tools/ttl2xml.c
@@ -22,8 +22,8 @@
 #include <string.h>
 #include <stdio.h>
 
+#include "tracker-docgen-xml.h"
 #include "tracker-ontology-model.h"
-#include "ttl_xml.h"
 
 static gchar *ontology_dir = NULL;
 static gchar *output_dir = NULL;


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