From: Yann E. MORIN Date: Sat, 27 May 2017 09:12:12 +0000 (+0200) Subject: Makefile: ensure image directory exists X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=kconfig-frontends Makefile: ensure image directory exists The now-usual mkdir... Signed-off-by: "Yann E. MORIN" --- diff --git a/Makefile.am b/Makefile.am index 8afe1a1..2b061e4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -155,9 +155,11 @@ libs_images_libkconfig_images_a_SOURCES = libs/images/images.c_orig nodist_libs_images_libkconfig_images_a_SOURCES = libs/images/images.c libs/images/images.c: libs/images/images.c_orig + $(MKDIR_P) $(@D) $(AM_V_GEN)$(SED) -e 's/^static //' $< >$@ libs/images/images.h: libs/images/images.c_orig + $(MKDIR_P) $(@D) $(AM_V_GEN)$(SED) -e '/^static \(const char \*xpm_\(.\{1,\}\)\[\]\) = {/!d; s//extern \1;/' \ $< >$@