From 13dbf6b0aa84af1477983e4c0061ba36e04ff089 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 7 Nov 2013 00:29:46 +0000 Subject: [PATCH] * Makefile.in: Properly cd to directory sans install_ prefix. Report on errors on doc install. Only 'all' is special. --- winsup/ChangeLog | 5 +++++ winsup/Makefile.in | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/winsup/ChangeLog b/winsup/ChangeLog index 5c191c18c..1e2b18ebb 100644 --- a/winsup/ChangeLog +++ b/winsup/ChangeLog @@ -1,3 +1,8 @@ +2013-11-06 Christopher Faylor + + * Makefile.in: Properly cd to directory sans install_ prefix. Report + on errors on doc install. Only 'all' is special. + 2013-11-06 Christopher Faylor * configure.ac: Detect windows headers/libs after we've figured out the diff --git a/winsup/Makefile.in b/winsup/Makefile.in index 29c1e9ecb..c55201d51 100644 --- a/winsup/Makefile.in +++ b/winsup/Makefile.in @@ -79,13 +79,13 @@ install-info: info: $(SUBDIRS): - ${MAKE} -C $@ all || ([ "$@" == doc ] && echo "*** error ignored") + @${MAKE} -C $@ all || ([ "$@" == doc ] && echo "*** error ignored") $(INSTALL_SUBDIRS): - ${MAKE} -C $@ all || ([ "$@" == install_doc ] && echo "*** error ignored") + @${MAKE} -C $(patsubst install_%,%,$@) install $(CLEAN_SUBDIRS): - @if cd ${patsubst clean_%,%,$@} 2>/dev/null; then \ + @if cd $(patsubst clean_%,%,$@) 2>/dev/null; then \ $(MAKE) clean || exit 1; \ fi || exit 0