diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2000-09-05 18:39:58 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2000-09-05 18:39:58 +0000 |
commit | a36cd013b90e700c00775b79445aeb6748fd3123 (patch) | |
tree | 84ed6316f2416621ff441f2fccc54de562188462 | |
parent | f825dfda7886e8766337e6856f986af768360f00 (diff) | |
download | newlib-a36cd013b90e700c00775b79445aeb6748fd3123.zip newlib-a36cd013b90e700c00775b79445aeb6748fd3123.tar.gz newlib-a36cd013b90e700c00775b79445aeb6748fd3123.tar.bz2 |
2000-08-31 Manfred Hollstein <manfredh@redhat.com>
* Makefile.am (install-data-local): Use optional $(DESTDIR) where
required, as documented in the gnu coding standards.
* Makefile.in: Regenerate.
-rw-r--r-- | newlib/ChangeLog | 6 | ||||
-rw-r--r-- | newlib/Makefile.am | 16 | ||||
-rw-r--r-- | newlib/Makefile.in | 23 |
3 files changed, 25 insertions, 20 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 564b8af..e08fe9d 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,9 @@ +2000-09-05 Manfred Hollstein <manfredh@redhat.com> + + * Makefile.am (install-data-local): Use optional $(DESTDIR) where + required, as documented in the gnu coding standards. + * Makefile.in: Regenerate. + 2000-09-05 Jeff Johnston <jjohnstn@redhat.com> * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to 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 diff --git a/newlib/Makefile.in b/newlib/Makefile.in index da4fed1..332c38b 100644 --- a/newlib/Makefile.in +++ b/newlib/Makefile.in @@ -126,8 +126,7 @@ AM_MAKEFLAGS = \ "DESTDIR=$(DESTDIR)" -@HAVE_DOC_TRUE@DOCDIR = \ -@HAVE_DOC_TRUE@doc +@HAVE_DOC_TRUE@DOCDIR = @HAVE_DOC_TRUE@doc SUBDIRS = libc libm $(DOCDIR) . @@ -185,7 +184,7 @@ acinclude.m4 aclocal.m4 configure configure.in DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = tar +TAR = gtar GZIP_ENV = --best DIST_SUBDIRS = libc libm doc . SOURCES = libm.a.c libc.a.c @@ -409,7 +408,7 @@ distdir: $(DISTFILES) @for file in $(DISTFILES); do \ if test -f $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ - cp -pr $$/$$file $(distdir)/$$file; \ + cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ @@ -563,32 +562,32 @@ stmp-targ-include: config.status touch $@ 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 |