[gspell] enum-types: rename the template files to have a *.in extension



commit 193d5ee3cd08100a1dd1776ac36d11bfde48db7b
Author: Sébastien Wilmet <swilmet informatique-libre be>
Date:   Sat May 21 13:38:26 2022 +0200

    enum-types: rename the template files to have a *.in extension
    
    To follow the glib-mkenums documentation, and also to recognize the
    files as C files when opening them in a text editor.

 gspell/Makefile.am                                         | 14 +++++++-------
 ...gspell-enum-types.c.template => gspell-enum-types.c.in} |  0
 ...gspell-enum-types.h.template => gspell-enum-types.h.in} |  0
 3 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/gspell/Makefile.am b/gspell/Makefile.am
index 69ee421..fed7174 100644
--- a/gspell/Makefile.am
+++ b/gspell/Makefile.am
@@ -136,15 +136,15 @@ gspell-resources.c: $(xml_res) $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(s
 
 ENUM_TYPES = $(gspell_public_headers)
 
-gspell-enum-types.h: gspell-enum-types.h.template $(ENUM_TYPES) $(GLIB_MKENUMS)
-       $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template gspell-enum-types.h.template $(ENUM_TYPES)) > 
$@
+gspell-enum-types.h: gspell-enum-types.h.in $(ENUM_TYPES) $(GLIB_MKENUMS)
+       $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template gspell-enum-types.h.in $(ENUM_TYPES)) > $@
 
-gspell-enum-types.c: gspell-enum-types.c.template $(ENUM_TYPES) $(GLIB_MKENUMS)
-       $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template gspell-enum-types.c.template $(ENUM_TYPES)) > 
$@
+gspell-enum-types.c: gspell-enum-types.c.in $(ENUM_TYPES) $(GLIB_MKENUMS)
+       $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template gspell-enum-types.c.in $(ENUM_TYPES)) > $@
 
-EXTRA_DIST =                           \
-       gspell-enum-types.c.template    \
-       gspell-enum-types.h.template
+EXTRA_DIST = \
+       gspell-enum-types.c.in \
+       gspell-enum-types.h.in
 
 CLEANFILES = $(BUILT_SOURCES)
 
diff --git a/gspell/gspell-enum-types.c.template b/gspell/gspell-enum-types.c.in
similarity index 100%
rename from gspell/gspell-enum-types.c.template
rename to gspell/gspell-enum-types.c.in
diff --git a/gspell/gspell-enum-types.h.template b/gspell/gspell-enum-types.h.in
similarity index 100%
rename from gspell/gspell-enum-types.h.template
rename to gspell/gspell-enum-types.h.in


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