[vte/vte-0-34] Use @basename@ rather than @filename@ in vtetypebuiltins.h



commit d1fb78fb00388b3e76fa1c8c71149d64c931b68e
Author: Colin Watson <cjwatson canonical com>
Date:   Thu Dec 20 11:23:18 2012 +0000

    Use @basename@ rather than @filename@ in vtetypebuiltins.h
    
    On Debian/Ubuntu-based systems it is helpful for headers to be identical
    across architectures, thereby allowing the -dev packages from multiple
    architectures to be installed simultaneously; in particular, this
    simplifies cross-building.  When building out-of-tree, the use of
    @filename@ causes the build directory to end up in the generated header
    file, which means that it isn't reliably identical on all architectures.
    Using @basename@ instead fixes this problem.
    
    Although it isn't necessary to change the corresponding .c file as well,
    I did so for consistency.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=690554

 src/vtetypebuiltins.c.template |    2 +-
 src/vtetypebuiltins.h.template |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/vtetypebuiltins.c.template b/src/vtetypebuiltins.c.template
index 0a6c5b2..bef7a46 100644
--- a/src/vtetypebuiltins.c.template
+++ b/src/vtetypebuiltins.c.template
@@ -4,7 +4,7 @@
 /*** END file-header ***/
 
 /*** BEGIN file-production ***/
-/* enumerations from "@filename@" */
+/* enumerations from "@basename@" */
 /*** END file-production ***/
 
 /*** BEGIN value-header ***/
diff --git a/src/vtetypebuiltins.h.template b/src/vtetypebuiltins.h.template
index a886d59..255b6c2 100644
--- a/src/vtetypebuiltins.h.template
+++ b/src/vtetypebuiltins.h.template
@@ -13,7 +13,7 @@ G_BEGIN_DECLS
 
 /*** BEGIN file-production ***/
 
-/* enumerations from "@filename@" */
+/* enumerations from "@basename@" */
 /*** END file-production ***/
 
 /*** BEGIN value-header ***/



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