From 136ca05d3a91b07c967994b51c48d9991546af87 Mon Sep 17 00:00:00 2001
From: Per Bothner <per@bothner.com>
Date: Sat, 28 Oct 1995 17:26:38 +0000
Subject: [PATCH] 	* Makefile.in ($(CHECK_TARGET_MODULES)):  Fix typo.

---
 ChangeLog   | 4 ++++
 Makefile.in | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index afbd5daeeba..037ef407be4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sat Oct 28 10:27:59 1995  Per Bothner  <bothner@kalessin.cygnus.com>
+
+	* Makefile.in ($(CHECK_TARGET_MODULES)):  Fix typo.
+
 Fri Oct 27 23:14:12 1995  Per Bothner  <bothner@kalessin.cygnus.com>
 
 	* configure.in:  Rename libFOO to target-libFOO, and xiberty
diff --git a/Makefile.in b/Makefile.in
index c7842fd132b..76ed0045b69 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -884,7 +884,7 @@ $(ALL_TARGET_MODULES):
 # To build a target install-X means to cd to X and make install.
 .PHONY: $(CHECK_TARGET_MODULES)
 $(CHECK_TARGET_MODULES):
-	@dir=`echo $@ | sed -e 's/check-target//'`; \
+	@dir=`echo $@ | sed -e 's/check-target-//'`; \
 	if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \
 	  r=`pwd`; export r; \
 	  srcroot=`cd $(srcdir); pwd`; export srcroot; \