mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-18 17:30:10 +00:00
Use GREP, not grep
As reported in bug 621927
This commit is contained in:
parent
ac18bc7cb1
commit
0ef0b9c68b
@ -815,9 +815,9 @@ 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 | \
|
||||
grep -o '\bg[td]k_[a-zA-Z0-9_]*_get_type\b' | \
|
||||
$(GREP) -o '\bg[td]k_[a-zA-Z0-9_]*_get_type\b' | \
|
||||
sort | uniq | \
|
||||
sed '{ s/^/*tp++ = /; s/$$/();/; }' > xgen-gtf \
|
||||
$(SED) '{ s/^/*tp++ = /; s/$$/();/; }' > xgen-gtf \
|
||||
&& cp xgen-gtf $@ && rm -f xgen-gtf
|
||||
gtktestutils.c: gtktypefuncs.c
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user