]> git.wh0rd.org Git - elf2flt.git/commitdiff
this patch for elf2flt makes sure that all install dirs exist before
authorDavid McCullough <davidm@snapgear.com>
Mon, 9 Feb 2004 23:59:40 +0000 (23:59 +0000)
committerDavid McCullough <davidm@snapgear.com>
Mon, 9 Feb 2004 23:59:40 +0000 (23:59 +0000)
copying files to them.

Bernardo Innocenti <bernie@develer.com>

Makefile.in

index 4f54438ce75e9f88fce27abbd7d8a8a0a8ca2194..4299302417ec29bc25351c150a65e6a81123f082 100644 (file)
@@ -52,6 +52,9 @@ distclean: clean
        -rm -f Makefile config.log config.status config.cache ld-elf2flt
 
 install:
+       $(INSTALL) -d $(bindir)
+       $(INSTALL) -d $(target_bindir)
+       $(INSTALL) -d $(target_libdir)
        $(INSTALL) -s -m 755 $(PROG_FLTHDR) $(bindir)/$(TARGET)-$(PROG_FLTHDR)
        $(INSTALL) -s -m 755 $(PROG_FLTHDR) $(target_bindir)/$(PROG_FLTHDR)
        $(INSTALL) -s -m 755 $(PROG_ELF2FLT) $(bindir)/$(TARGET)-$(PROG_ELF2FLT)