mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-20 05:50:11 +00:00
use 'grep -o' to extract _get_type functions from header files. this
2007-12-03 15:18:17 Tim Janik <timj@imendio.com> * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type functions from header files. this should be portable across linux and Mac OS, unlike the previpous sed expression. svn path=/trunk/; revision=19098
This commit is contained in:
parent
48110a5013
commit
f83588f87e
@ -1,3 +1,9 @@
|
||||
2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
|
||||
|
||||
* gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
|
||||
functions from header files. this should be portable across linux and
|
||||
Mac OS, unlike the previpous sed expression.
|
||||
|
||||
2007-12-1 Cody Russell <bratsche@gnome.org>
|
||||
|
||||
* gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
|
||||
@ -13,7 +19,7 @@
|
||||
* gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
|
||||
|
||||
2007-11-29 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
|
||||
* gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
|
||||
debug spew.
|
||||
|
||||
|
@ -815,8 +815,7 @@ gtktypebuiltins.c: @REBUILD@ $(gtk_public_h_sources) gtktypebuiltins.c.template
|
||||
gtktypefuncs.c: @REBUILD@ $(top_srcdir)/gtk/*.h $(top_srcdir)/gdk/*.h Makefile
|
||||
echo '#include <gtk/gtk.h>' > xgen-gtfsrc.c && \
|
||||
${CPP} $(DEFS) $(INCLUDES) -DGTK_ENABLE_BROKEN $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) xgen-gtfsrc.c | \
|
||||
egrep '\<g[td]k_[a-zA-Z0-9_]+_get_type\>' | \
|
||||
sed -e 's/.*\(\<g[td]k_[a-zA-Z0-9_]\+_get_type\>\).*/\1/' | \
|
||||
grep -o '\bg[td]k_[a-zA-Z0-9_]*_get_type\b' | \
|
||||
sort | uniq | \
|
||||
sed '{ s/^/vgt=/; s/$$/();/; }' > xgen-gtf \
|
||||
&& cp xgen-gtf $@ && rm -f xgen-gtf
|
||||
|
Loading…
Reference in New Issue
Block a user