From a08c98bb808d1a1806c93be0b7934a19f48b5a0a Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Fri, 8 Dec 2000 21:31:08 +0000 Subject: [PATCH] 2000-12-08 Ralf Corsepius * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM) can be a relative path to $(top_srcdir)/install.sh so ensure the autoconf detected settings are properly passed recursively. Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed properly to subdirectories. * Makefile.in: Regenerated. --- newlib/ChangeLog | 9 +++++++++ newlib/Makefile.am | 6 ++---- newlib/Makefile.in | 11 ++++------- 3 files changed, 15 insertions(+), 11 deletions(-) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index aa2526315..558d74d03 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,12 @@ +2000-12-08 Ralf Corsepius + + * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM) + can be a relative path to $(top_srcdir)/install.sh so ensure the + autoconf detected settings are properly passed recursively. + Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed + properly to subdirectories. + * Makefile.in: Regenerated. + 2000-12-07 Jay Kulpinski * libc/stdio/vfprintf.c: Minor modification to avoid requiring diff --git a/newlib/Makefile.am b/newlib/Makefile.am index a1ce30a8d..b78fd59c6 100644 --- a/newlib/Makefile.am +++ b/newlib/Makefile.am @@ -19,10 +19,6 @@ AM_MAKEFLAGS = \ "CFLAGS=$(CFLAGS)" \ "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \ "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \ - "INSTALL=$(INSTALL)" \ - "INSTALL_DATA=$(INSTALL_DATA)" \ - "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ - "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \ "LDFLAGS=$(LDFLAGS)" \ "LIBCFLAGS=$(LIBCFLAGS)" \ "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \ @@ -49,6 +45,8 @@ AM_MAKEFLAGS = \ "RANLIB=$(RANLIB)" \ "DESTDIR=$(DESTDIR)" +FLAGS_TO_PASS=$(AM_MAKEFLAGS) + if HAVE_DOC DOCDIR = doc endif diff --git a/newlib/Makefile.in b/newlib/Makefile.in index eb0fdaaf8..db16a1f8a 100644 --- a/newlib/Makefile.in +++ b/newlib/Makefile.in @@ -95,10 +95,6 @@ AM_MAKEFLAGS = \ "CFLAGS=$(CFLAGS)" \ "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \ "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \ - "INSTALL=$(INSTALL)" \ - "INSTALL_DATA=$(INSTALL_DATA)" \ - "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ - "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \ "LDFLAGS=$(LDFLAGS)" \ "LIBCFLAGS=$(LIBCFLAGS)" \ "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \ @@ -126,8 +122,9 @@ AM_MAKEFLAGS = \ "DESTDIR=$(DESTDIR)" -@HAVE_DOC_TRUE@DOCDIR = \ -@HAVE_DOC_TRUE@doc +FLAGS_TO_PASS = $(AM_MAKEFLAGS) + +@HAVE_DOC_TRUE@DOCDIR = @HAVE_DOC_TRUE@doc SUBDIRS = libc libm $(DOCDIR) . @@ -409,7 +406,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 \