summaryrefslogtreecommitdiff
path: root/doc/xml
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2017-03-14 10:58:33 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2017-03-14 11:03:48 +0000
commit66746cfa3de8cdb272c30da5c762735265e3b040 (patch)
treefb82bb99acd02f4962edd8ed7d005a090f1703f5 /doc/xml
parent1447d8b527864c10899dab3733068407b82fb19b (diff)
downloadjson-glib-66746cfa3de8cdb272c30da5c762735265e3b040.tar.gz
Move the reference build down one level
There's no point in having the API reference in its own sub-directory: it's the only documentation we have.
Diffstat (limited to 'doc/xml')
-rw-r--r--doc/xml/gtkdocentities.ent.in8
-rw-r--r--doc/xml/meson.build11
2 files changed, 19 insertions, 0 deletions
diff --git a/doc/xml/gtkdocentities.ent.in b/doc/xml/gtkdocentities.ent.in
new file mode 100644
index 0000000..f12c9ff
--- /dev/null
+++ b/doc/xml/gtkdocentities.ent.in
@@ -0,0 +1,8 @@
+<!ENTITY package "@PACKAGE@">
+<!ENTITY package_bugreport "@PACKAGE_BUGREPORT@">
+<!ENTITY package_name "@PACKAGE_NAME@">
+<!ENTITY package_string "@PACKAGE_STRING@">
+<!ENTITY package_tarname "@PACKAGE_TARNAME@">
+<!ENTITY package_url "@PACKAGE_URL@">
+<!ENTITY package_version "@PACKAGE_VERSION@">
+<!ENTITY package_api_version "@PACKAGE_API_VERSION@">
diff --git a/doc/xml/meson.build b/doc/xml/meson.build
new file mode 100644
index 0000000..668435a
--- /dev/null
+++ b/doc/xml/meson.build
@@ -0,0 +1,11 @@
+ent_conf = configuration_data()
+ent_conf.set('PACKAGE', 'JSON-GLib')
+ent_conf.set('PACKAGE_BUGREPORT', 'https://bugzilla.gnome.org/enter_bug.cgi?product=json-glib')
+ent_conf.set('PACKAGE_NAME', 'JSON-GLib')
+ent_conf.set('PACKAGE_STRING', 'json-glib')
+ent_conf.set('PACKAGE_TARNAME', 'json-glib-' + meson.project_version())
+ent_conf.set('PACKAGE_URL', 'http://wiki.gnome.org/Project/JsonGlib')
+ent_conf.set('PACKAGE_VERSION', meson.project_version())
+ent_conf.set('PACKAGE_API_VERSION', apiversion)
+configure_file(input: 'gtkdocentities.ent.in', output: 'gtkdocentities.ent', configuration: ent_conf)
+