[gtkmm] tools/gen_scripts: Exclude gdkinternals.h from the .defs files
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] tools/gen_scripts: Exclude gdkinternals.h from the .defs files
- Date: Wed, 8 Jun 2016 07:11:44 +0000 (UTC)
commit b8071817ca5560f7534b3f98679a0b3e5674e4f0
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date: Wed Jun 8 09:07:46 2016 +0200
tools/gen_scripts: Exclude gdkinternals.h from the .defs files
* tools/gen_scripts/gdk_generate_enums.sh:
* tools/gen_scripts/gdk_generate_methods.sh: Exclude gtk+/gdk/gdkinternals.h
when gdk_enums.defs and gdk_methods.defs are generated.
tools/gen_scripts/gdk_generate_enums.sh | 3 ++-
tools/gen_scripts/gdk_generate_methods.sh | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/tools/gen_scripts/gdk_generate_enums.sh b/tools/gen_scripts/gdk_generate_enums.sh
index cddb378..99e4fd6 100755
--- a/tools/gen_scripts/gdk_generate_enums.sh
+++ b/tools/gen_scripts/gdk_generate_enums.sh
@@ -16,5 +16,6 @@ OUT_DIR="$ROOT_DIR/gdk/src"
shopt -s extglob # Enable extended pattern matching
ENUM_PL="$JHBUILD_SOURCES/glibmm/tools/enum.pl"
# Process files whose names end with .h, but not with private.h.
-$ENUM_PL "$PREFIX"/gtk+/gdk/!(*private).h "$PREFIX"/gtk+/gdk/deprecated/!(*private).h >
"$OUT_DIR"/gdk_enums.defs
+# Exclude gtk+/gdk/gdkinternals.h.
+$ENUM_PL "$PREFIX"/gtk+/gdk/!(*private|gdkinternals).h "$PREFIX"/gtk+/gdk/deprecated/!(*private).h >
"$OUT_DIR"/gdk_enums.defs
$ENUM_PL "$PREFIX"/gdk-pixbuf/gdk-pixbuf/gdk!(*private).h > "$OUT_DIR"/gdk_pixbuf_enums.defs
diff --git a/tools/gen_scripts/gdk_generate_methods.sh b/tools/gen_scripts/gdk_generate_methods.sh
index 49c5cc2..8d7500c 100755
--- a/tools/gen_scripts/gdk_generate_methods.sh
+++ b/tools/gen_scripts/gdk_generate_methods.sh
@@ -16,5 +16,6 @@ OUT_DIR="$ROOT_DIR/gdk/src"
shopt -s extglob # Enable extended pattern matching
H2DEF_PY="$JHBUILD_SOURCES/glibmm/tools/defs_gen/h2def.py"
# Process files whose names end with .h, but not with private.h.
-$H2DEF_PY "$PREFIX"/gtk+/gdk/!(*private).h "$PREFIX"/gtk+/gdk/deprecated/!(*private).h >
"$OUT_DIR"/gdk_methods.defs
+# Exclude gtk+/gdk/gdkinternals.h.
+$H2DEF_PY "$PREFIX"/gtk+/gdk/!(*private|gdkinternals).h "$PREFIX"/gtk+/gdk/deprecated/!(*private).h >
"$OUT_DIR"/gdk_methods.defs
$H2DEF_PY "$PREFIX"/gdk-pixbuf/gdk-pixbuf/gdk!(*private).h > "$OUT_DIR"/gdk_pixbuf_methods.defs
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]