From: David McCullough <davidm@snapgear.com>
Date: Mon, 9 Feb 2004 23:59:40 +0000 (+0000)
Subject: this patch for elf2flt makes sure that all install dirs exist before
X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=31b1b17ab0b5aed2db021f29eb42cb8dfcca5cab;p=elf2flt.git

this patch for elf2flt makes sure that all install dirs exist before
copying files to them.

Bernardo Innocenti <bernie@develer.com>
---

diff --git a/Makefile.in b/Makefile.in
index 4f54438..4299302 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -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)