From a36cd013b90e700c00775b79445aeb6748fd3123 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Tue, 5 Sep 2000 18:39:58 +0000 Subject: 2000-08-31 Manfred Hollstein * Makefile.am (install-data-local): Use optional $(DESTDIR) where required, as documented in the gnu coding standards. * Makefile.in: Regenerate. --- newlib/Makefile.am | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'newlib/Makefile.am') diff --git a/newlib/Makefile.am b/newlib/Makefile.am index 38e1d13..35175b2 100644 --- a/newlib/Makefile.am +++ b/newlib/Makefile.am @@ -129,32 +129,32 @@ stmp-targ-include: config.status CLEANFILES = targ-include stmp-targ-include install-data-local: install-toollibLIBRARIES - rm -f $(toollibdir)/libg.a - ln $(toollibdir)/libc.a $(toollibdir)/libg.a + rm -f $(DESTDIR)$(toollibdir)/libg.a + ln $(DESTDIR)$(toollibdir)/libc.a $(DESTDIR)$(toollibdir)/libg.a $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do -if [ -z "$(MULTISUBDIR)" ]; then \ for i in $(srcdir)/libc/include/*.h; do \ - $(INSTALL_DATA) $$i $(tooldir)/include/`basename $$i`; \ + $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \ done; \ for i in $(srcdir)/libc/include/machine/*.h; do \ - $(INSTALL_DATA) $$i $(tooldir)/include/machine/`basename $$i`; \ + $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \ done; \ for i in $(srcdir)/libc/machine/$(machine_dir)/machine/*.h; do \ if [ -f $$i ]; then \ - $(INSTALL_DATA) $$i $(tooldir)/include/machine/`basename $$i`; \ + $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \ else true; fi ; \ done; \ for i in $(srcdir)/libc/include/sys/*.h; do \ - $(INSTALL_DATA) $$i $(tooldir)/include/sys/`basename $$i`; \ + $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \ done; \ for i in $(srcdir)/libc/sys/$(sys_dir)/sys/*.h; do \ if [ -f $$i ]; then \ - $(INSTALL_DATA) $$i $(tooldir)/include/sys/`basename $$i`; \ + $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/sys/`basename $$i`; \ else true; fi ; \ done ; \ for i in $(srcdir)/libc/sys/$(sys_dir)/include/*.h; do \ if [ -f $$i ]; then \ - $(INSTALL_DATA) $$i $(tooldir)/include/`basename $$i`; \ + $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/`basename $$i`; \ else true; fi ; \ done ; \ else true; fi -- cgit v1.1