]> git.sur5r.net Git - kconfig-frontends/commitdiff
Makefile: ensure image directory exists master
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 27 May 2017 09:12:12 +0000 (11:12 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 27 May 2017 09:13:20 +0000 (11:13 +0200)
The now-usual mkdir...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Makefile.am

index 8afe1a13fa2565792cabc41e94e0bd9982bdf3da..2b061e4b169951da183af10cea12494e5024b27e 100644 (file)
@@ -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
 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
        $(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;/' \
                $< >$@
 
        $(AM_V_GEN)$(SED) -e '/^static \(const char \*xpm_\(.\{1,\}\)\[\]\) = {/!d; s//extern \1;/' \
                $< >$@