/soc/2013/ankitkv/gobjectification: a2be1cdce494: Renamed enums....

Ankit Vani a at nevitus.org
Wed Oct 23 13:03:36 EDT 2013


Changeset: a2be1cdce494f7cf6024ca751996bc8cfe494a50
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-10-23 22:12 +0530
Branch:	 soc.2013.gobjectification
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/a2be1cdce494

Description:

Renamed enums.[ch].template to enums.[ch].in

diffstat:

 libpurple/Makefile.am      |  8 ++++----
 libpurple/Makefile.mingw   |  8 ++++----
 libpurple/enums.c.template |  0 
 libpurple/enums.h.template |  0 
 4 files changed, 8 insertions(+), 8 deletions(-)

diffs (46 lines):

diff --git a/libpurple/Makefile.am b/libpurple/Makefile.am
--- a/libpurple/Makefile.am
+++ b/libpurple/Makefile.am
@@ -232,11 +232,11 @@ marshallers.c: marshallers.list marshall
 	$(AM_V_GEN)echo "#include \"marshallers.h\"" > marshallers.c
 	$(AM_V_at)$(GLIB_GENMARSHAL) --prefix=purple_smarshal $(srcdir)/marshallers.list --body >> marshallers.c
 
-enums.h: enums.h.template $(purple_enumheaders)
-	$(AM_V_GEN)$(GLIB_MKENUMS) --template enums.h.template $(purple_enumheaders) > $@
+enums.h: enums.h.in $(purple_enumheaders)
+	$(AM_V_GEN)$(GLIB_MKENUMS) --template enums.h.in $(purple_enumheaders) > $@
 
-enums.c: enums.c.template $(purple_enumheaders)
-	$(AM_V_GEN)$(GLIB_MKENUMS) --template enums.c.template $(purple_enumheaders) > $@
+enums.c: enums.c.in $(purple_enumheaders)
+	$(AM_V_GEN)$(GLIB_MKENUMS) --template enums.c.in $(purple_enumheaders) > $@
 
 CLEANFILES = \
 	enums.c \
diff --git a/libpurple/Makefile.mingw b/libpurple/Makefile.mingw
--- a/libpurple/Makefile.mingw
+++ b/libpurple/Makefile.mingw
@@ -213,13 +213,13 @@ marshallers.c: marshallers.list marshall
 	@echo "#include \"marshallers.h\"" > marshallers.c
 	@$(GLIB_GENMARSHAL) --prefix=purple_smarshal $< --body >> marshallers.c
 
-enums.h: enums.h.template $(ENUM_HEADERS)
+enums.h: enums.h.in $(ENUM_HEADERS)
 	@echo -e "  GEN\t$@"
-	@$(GLIB_MKENUMS) --template enums.h.template $(ENUM_HEADERS) > enums.h
+	@$(GLIB_MKENUMS) --template enums.h.in $(ENUM_HEADERS) > enums.h
 
-enums.c: enums.c.template enums.h $(ENUM_HEADERS)
+enums.c: enums.c.in enums.h $(ENUM_HEADERS)
 	@echo -e "  GEN\t$@"
-	@$(GLIB_MKENUMS) --template enums.c.template $(ENUM_HEADERS) > enums.c
+	@$(GLIB_MKENUMS) --template enums.c.in $(ENUM_HEADERS) > enums.c
 
 $(TARGET).dll $(TARGET).dll.a: $(OBJECTS)
 	$(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -Wl,--output-def,$(TARGET).def,--out-implib,$(TARGET).dll.a -o $(TARGET).dll
diff --git a/libpurple/enums.c.template b/libpurple/enums.c.in
rename from libpurple/enums.c.template
rename to libpurple/enums.c.in
diff --git a/libpurple/enums.h.template b/libpurple/enums.h.in
rename from libpurple/enums.h.template
rename to libpurple/enums.h.in



More information about the Commits mailing list