kconfig-frontends/utils/Makefile.am
Clement Chauplannaz edd1050b7e Compatibility with BSD version of `sed'
Rewrite calls to `sed' to remove '-r/--regexp-extended' parameter, which is not
supported by BSD `sed'.
BSD `sed' does implement regular expressions, but enables them with parameter
'-E' which in turn is not officially supported by GNU `sed' - in fact it is
implemented but not documented.

Signed-off-by: Clement Chauplannaz <chauplac@gmail.com>
[yann.morin.1998@free.fr: tweak the root-menu hunk]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2013-05-08 12:32:25 +02:00

22 lines
580 B
Makefile

bin_SCRIPTS = tweak
dist_bin_SCRIPTS = diff merge
if COND_utils_gettext
MAYBE_utils_gettext = gettext
endif
bin_PROGRAMS = $(MAYBE_utils_gettext)
gettext_SOURCES = gettext.c
gettext_CPPFLAGS = $(AM_CPPFLAGS) \
-I$(top_srcdir)/libs/parser
gettext_CFLAGS = $(AM_CFLAGS) $(kf_CFLAGS)
gettext_LDADD = $(top_builddir)/libs/parser/libkconfig-parser.la \
$(intl_LIBS)
CLEANFILES = tweak
EXTRA_DIST = tweak.in tweak.in.patch
tweak: tweak.in
$(AM_V_GEN)$(SED) -e "s/@CONFIG_@/$(config_prefix)/g" \
$< >$@
@chmod +x $@