diff options
author | Iñigo Martínez <inigomartinez@gmail.com> | 2019-01-10 09:39:01 +0100 |
---|---|---|
committer | Iñigo Martínez <inigomartinez@gmail.com> | 2021-04-20 21:41:18 +0200 |
commit | c4a0fe4d793cc334d3002e491e738a3e995ef5d5 (patch) | |
tree | de798a594b373d60c4f3a77d24ed7b74c21d9ee2 /src/qmi-firmware-update | |
parent | 2f1ba03aa9f4b7169d6f255764cbdbb13d16b0b9 (diff) | |
download | libqmi-c4a0fe4d793cc334d3002e491e738a3e995ef5d5.tar.gz |
build: Rename template files
The template files in the `build-aux/templates` 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 'src/qmi-firmware-update')
-rw-r--r-- | src/qmi-firmware-update/Makefile.am | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qmi-firmware-update/Makefile.am b/src/qmi-firmware-update/Makefile.am index 4c196fc8..cf328990 100644 --- a/src/qmi-firmware-update/Makefile.am +++ b/src/qmi-firmware-update/Makefile.am @@ -66,17 +66,17 @@ ENUMS_GENERATED = \ qfu-enum-types.h qfu-enum-types.c \ $(NULL) -qfu-enum-types.h: Makefile.am $(ENUMS) $(top_srcdir)/build-aux/templates/qmi-enum-types-template.h +qfu-enum-types.h: Makefile.am $(ENUMS) $(top_srcdir)/build-aux/templates/qmi-enum-types.h.template $(AM_V_GEN) $(PYTHON) $(top_srcdir)/build-aux/qmi-mkenums \ --fhead "#ifndef QFU_ENUM_TYPES_H\n#define QFU_ENUM_TYPES_H\n#include \"qfu-image.h\"\n#include \"qfu-qdl-message.h\"\n#include \"qfu-dload-message.h\"\n#include \"qfu-sahara-message.h\"\n" \ - --template $(top_srcdir)/build-aux/templates/qmi-enum-types-template.h \ + --template $(top_srcdir)/build-aux/templates/qmi-enum-types.h.template \ --ftail "#endif /* __QFUENUM_TYPES_H__ */\n" \ $(ENUMS) > $@ -qfu-enum-types.c: $(ENUMS) qfu-enum-types.h $(top_srcdir)/build-aux/templates/qmi-enum-types-template.c +qfu-enum-types.c: $(ENUMS) qfu-enum-types.h $(top_srcdir)/build-aux/templates/qmi-enum-types.c.template $(AM_V_GEN) $(PYTHON) $(top_srcdir)/build-aux/qmi-mkenums \ --fhead "#include \"qfu-enum-types.h\"\n" \ - --template $(top_srcdir)/build-aux/templates/qmi-enum-types-template.c \ + --template $(top_srcdir)/build-aux/templates/qmi-enum-types.c.template \ $(ENUMS) > $@ nodist_qmi_firmware_update_SOURCES = \ |