mirror of
https://github.com/HEYAHONG/kconfig-frontends.git
synced 2025-05-08 17:52:32 +08:00

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>
14 lines
410 B
Makefile
14 lines
410 B
Makefile
noinst_LIBRARIES = libkconfig-images.a
|
|
|
|
libkconfig_images_a_SOURCES = images.c_orig
|
|
nodist_libkconfig_images_a_SOURCES = images.c
|
|
BUILT_SOURCES = images.c images.h
|
|
CLEANFILES = images.c images.h
|
|
|
|
images.c: images.c_orig
|
|
$(AM_V_GEN)$(SED) -e 's/^static //' $< >$@
|
|
|
|
images.h: images.c_orig
|
|
$(AM_V_GEN)$(SED) -e '/^static \(const char \*xpm_\(.\{1,\}\)\[\]\) = {/!d; s//extern \1;/' \
|
|
$< >$@
|