From 08e857b49a2fe0726bd8123f0c6a195cf58ea320 Mon Sep 17 00:00:00 2001 From: Thomas Fitzsimmons Date: Tue, 18 Dec 2001 22:52:52 +0000 Subject: [PATCH] * Makefile.am (DOCDIR): Force to empty string when doc directory is not present. --- newlib/ChangeLog | 5 +++++ newlib/Makefile.am | 2 ++ newlib/Makefile.in | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index d1e4e74c4..b5df76184 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2001-12-18 Thomas Fitzsimmons + + * Makefile.am (DOCDIR): Force to empty string when doc + directory is not present. + 2001-12-17 Thomas Fitzsimmons * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal diff --git a/newlib/Makefile.am b/newlib/Makefile.am index a759e2c63..5a98d93a1 100644 --- a/newlib/Makefile.am +++ b/newlib/Makefile.am @@ -57,6 +57,8 @@ FLAGS_TO_PASS=$(AM_MAKEFLAGS) if HAVE_DOC DOCDIR = doc +else +DOCDIR = endif SUBDIRS = libc libm $(DOCDIR) . diff --git a/newlib/Makefile.in b/newlib/Makefile.in index eb35a578b..663686fa6 100644 --- a/newlib/Makefile.in +++ b/newlib/Makefile.in @@ -144,8 +144,8 @@ AM_MAKEFLAGS = \ FLAGS_TO_PASS = $(AM_MAKEFLAGS) - @HAVE_DOC_TRUE@DOCDIR = @HAVE_DOC_TRUE@doc +@HAVE_DOC_FALSE@DOCDIR = SUBDIRS = libc libm $(DOCDIR) .