aboutsummaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2021-07-29 23:45:52 +0200
committerAleksander Morgado <aleksander@aleksander.es>2021-07-30 10:14:52 +0000
commit7c4db66eb34eebecc6b17fe86375e081b49bff00 (patch)
treec5e4f8ffa32bffd4a669b1cf199dcd0298a08412 /build-aux
parentb935782010edabff0b37a4256235e63bc6f946ec (diff)
build: Rename template files
The template files in the `build-aux` directory used in enums sources and headers generation use the `{$name}-template.[ch]` pattern. However, the examples in the official guide[0] and usually GNOME and Freedesktop packages use the `{$name}.[ch].template` pattern. Due to this, the name of the template files and build commands have been changed. [0] https://developer.gnome.org/gobject/stable/glib-mkenums.html
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/Makefile.am10
-rw-r--r--build-aux/mm-enums-types.c.template (renamed from build-aux/mm-enums-template.c)0
-rw-r--r--build-aux/mm-enums-types.h.template (renamed from build-aux/mm-enums-template.h)0
-rw-r--r--build-aux/mm-errors-quarks.c.template (renamed from build-aux/mm-errors-quarks-template.c)0
-rw-r--r--build-aux/mm-errors-types.c.template (renamed from build-aux/mm-errors-template.c)0
-rw-r--r--build-aux/mm-errors-types.h.template (renamed from build-aux/mm-errors-template.h)0
6 files changed, 5 insertions, 5 deletions
diff --git a/build-aux/Makefile.am b/build-aux/Makefile.am
index c27e0f05..acb7afe4 100644
--- a/build-aux/Makefile.am
+++ b/build-aux/Makefile.am
@@ -1,8 +1,8 @@
EXTRA_DIST = \
header-generator.xsl \
- mm-enums-template.h \
- mm-enums-template.c \
- mm-errors-template.h \
- mm-errors-template.c \
- mm-errors-quarks-template.c
+ mm-enums-types.h.template \
+ mm-enums-types.c.template \
+ mm-errors-types.h.template \
+ mm-errors-types.c.template \
+ mm-errors-quarks.c.template
diff --git a/build-aux/mm-enums-template.c b/build-aux/mm-enums-types.c.template
index 2a7f264b..2a7f264b 100644
--- a/build-aux/mm-enums-template.c
+++ b/build-aux/mm-enums-types.c.template
diff --git a/build-aux/mm-enums-template.h b/build-aux/mm-enums-types.h.template
index 652c53dc..652c53dc 100644
--- a/build-aux/mm-enums-template.h
+++ b/build-aux/mm-enums-types.h.template
diff --git a/build-aux/mm-errors-quarks-template.c b/build-aux/mm-errors-quarks.c.template
index 4386a601..4386a601 100644
--- a/build-aux/mm-errors-quarks-template.c
+++ b/build-aux/mm-errors-quarks.c.template
diff --git a/build-aux/mm-errors-template.c b/build-aux/mm-errors-types.c.template
index 8370adf1..8370adf1 100644
--- a/build-aux/mm-errors-template.c
+++ b/build-aux/mm-errors-types.c.template
diff --git a/build-aux/mm-errors-template.h b/build-aux/mm-errors-types.h.template
index 72c90cf5..72c90cf5 100644
--- a/build-aux/mm-errors-template.h
+++ b/build-aux/mm-errors-types.h.template