[clutter-gst/clutter-gst-3.0] Try to avoid absolute paths in generated enums file



commit 8f2977eab72e5ee64cbf3cae9eaccad6ea15e6b5
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Wed Feb 6 14:58:21 2019 -0600

    Try to avoid absolute paths in generated enums file
    
    Otherwise we wind up with absolute paths from my system in the
    release... doesn't work.

 clutter-gst/clutter-gst-enum-types.c.in | 4 ++--
 clutter-gst/clutter-gst-enum-types.h.in | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/clutter-gst/clutter-gst-enum-types.c.in b/clutter-gst/clutter-gst-enum-types.c.in
index a750f4b..932c805 100644
--- a/clutter-gst/clutter-gst-enum-types.c.in
+++ b/clutter-gst/clutter-gst-enum-types.c.in
@@ -4,8 +4,8 @@
 
 /*** BEGIN file-production ***/
 
-/* enumerations from "@filename@" */
-#include "@filename@"
+/* enumerations from "@basename@" */
+#include "@basename@"
 
 /*** END file-production ***/
 
diff --git a/clutter-gst/clutter-gst-enum-types.h.in b/clutter-gst/clutter-gst-enum-types.h.in
index dab1c7e..8e37726 100644
--- a/clutter-gst/clutter-gst-enum-types.h.in
+++ b/clutter-gst/clutter-gst-enum-types.h.in
@@ -9,7 +9,7 @@ G_BEGIN_DECLS
 /*** END file-header ***/
 
 /*** BEGIN file-production ***/
-/* enumerations from "@filename@" */
+/* enumerations from "@basename@" */
 /*** END file-production ***/
 
 /*** BEGIN file-tail ***/


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