From 5d3f97c65af769b59da9b909f52951646f85cd28 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Sun, 10 Jun 2012 11:16:21 +0200 Subject: don't include build-time filenames in comments of the enum header files If we do, the header files may be different on each build. This is especially harmful when building multiple times for multiple architectures and expecting the files to be identical. --- libindicator/indicator-object-enum-types.c.template | 4 ++-- libindicator/indicator-object-enum-types.h.template | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libindicator') diff --git a/libindicator/indicator-object-enum-types.c.template b/libindicator/indicator-object-enum-types.c.template index dd7d595..e5b3352 100644 --- a/libindicator/indicator-object-enum-types.c.template +++ b/libindicator/indicator-object-enum-types.c.template @@ -3,8 +3,8 @@ /*** END file-header ***/ /*** BEGIN file-production ***/ -/* enumerations from "@filename@" */ -#include "@filename@" +/* enumerations from "@basename@" */ +#include "@basename@" /*** END file-production ***/ /*** BEGIN value-header ***/ diff --git a/libindicator/indicator-object-enum-types.h.template b/libindicator/indicator-object-enum-types.h.template index 07175a0..2ac8ef8 100644 --- a/libindicator/indicator-object-enum-types.h.template +++ b/libindicator/indicator-object-enum-types.h.template @@ -10,7 +10,7 @@ G_BEGIN_DECLS /*** END file-header ***/ /*** BEGIN file-production ***/ -/* enumerations from "@filename@" */ +/* enumerations from "@basename@" */ /*** END file-production ***/ /*** BEGIN file-tail ***/ -- cgit v1.2.3