2014-10-22 Tim Harder <radhermit@gmail.com>

* msp430/Makefile.in: respect DESTDIR during install
This commit is contained in:
DJ Delorie 2014-10-23 01:49:49 +00:00
parent 1ac9d47a7e
commit 787fa74125
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2014-10-22 Tim Harder <radhermit@gmail.com>
* msp430/Makefile.in: respect DESTDIR during install
2014-09-22 Peter A. Bigot <pab@pabigot.com>
* configure.in: Remove config_libnosys=false

View File

@ -12,6 +12,7 @@
# Makefile for libgloss/msp430.
DESTDIR =
VPATH = @srcdir@
srcdir = @srcdir@
objdir = .
@ -152,12 +153,13 @@ utime.o : $(SDEPS)
write.o : $(SDEPS)
install: $(CRT) $(SIM_BSP) $(LIB_CIO) $(LIB_CRT) $(SCRIPTS)
mkdir -p $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
for c in $(CRT) $(SIM_BSP) $(LIB_CIO) $(LIB_CRT); do \
$(INSTALL_DATA) $$c $(tooldir)/lib${MULTISUBDIR}/$$c ;\
$(INSTALL_DATA) $$c $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$$c ;\
done
for c in $(SCRIPTS); do \
b=`basename $$c`; \
$(INSTALL_DATA) $$c $(tooldir)/lib${MULTISUBDIR}/$$b ;\
$(INSTALL_DATA) $$c $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$$b ;\
done
clean mostlyclean: