[gtksourceview] build: Fix generation of TypeEnums on MacOSX.
- From: Jose Aliste <jaliste src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] build: Fix generation of TypeEnums on MacOSX.
- Date: Thu, 14 Jul 2011 03:16:00 +0000 (UTC)
commit e79b4ba3d5be8aa4d4deb9564550f00ae38586d7
Author: Josà Aliste <jaliste src gnome org>
Date: Wed Jul 13 23:10:03 2011 -0400
build: Fix generation of TypeEnums on MacOSX.
The use of "sed -i 'regex' file" is not portable.
Use "sed -i -e 'regex' file" instead.
gtksourceview/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtksourceview/Makefile.am b/gtksourceview/Makefile.am
index b043afc..e4adeaa 100644
--- a/gtksourceview/Makefile.am
+++ b/gtksourceview/Makefile.am
@@ -163,7 +163,7 @@ stamp-gtksourceview-typebuiltins.h: Makefile.am $(libgtksourceview_headers)
--eprod "GType @enum_name _get_type (void);\n" \
--eprod "G_END_DECLS\n\n" \
$(libgtksourceview_headers) ) > xgen-gth \
- && $(SED) -i 's/GTK_TYPE_SOURCE_/GTK_SOURCE_TYPE_/' xgen-gth \
+ && $(SED) -i -e 's/GTK_TYPE_SOURCE_/GTK_SOURCE_TYPE_/' xgen-gth \
&& (cmp -s xgen-gth gtksourceview-typebuiltins.h || cp xgen-gth gtksourceview-typebuiltins.h) \
&& rm -f xgen-gth && echo stamp > $(@F)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]