Fix generation of signallist.i with BSD sed

4.2BSD sed doesn't understand the `+` quantifier, so use `{1,}`.
This commit is contained in:
Colomban Wendling 2015-03-10 23:20:55 +01:00
parent c85b846eeb
commit 56b9189a6c

View File

@ -169,7 +169,7 @@ glade_file=$(top_srcdir)/data/geany.glade
signallist.i: $(glade_file) Makefile
$(AM_V_GEN)( \
echo '/* This file is auto-generated, do not edit. */' && \
$(SED) -n 's/^.*handler="\([^"]\+\)".*$$/ITEM(\1)/p' "$(glade_file)" \
$(SED) -n 's/^.*handler="\([^"]\{1,\}\)".*$$/ITEM(\1)/p' "$(glade_file)" \
| $(SORT) | $(UNIQ) \
) > $@ || { $(RM) $@ && exit 1; }