diff options
author | Alan Modra <amodra@gmail.com> | 2000-06-22 13:14:21 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2000-06-22 13:14:21 +0000 |
commit | 6d5be9157ea05325728d90e08ca13b3589f941a5 (patch) | |
tree | e493e3dd8d0ce43f092c83044c684f32ee9fb2df /binutils/Makefile.am | |
parent | 1581f8c9feb992568c0f36d2c76d43f7a75a4750 (diff) | |
download | gdb-6d5be9157ea05325728d90e08ca13b3589f941a5.zip gdb-6d5be9157ea05325728d90e08ca13b3589f941a5.tar.gz gdb-6d5be9157ea05325728d90e08ca13b3589f941a5.tar.bz2 |
Check dependecies for leading `/' in this dir too.
Diffstat (limited to 'binutils/Makefile.am')
-rw-r--r-- | binutils/Makefile.am | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/binutils/Makefile.am b/binutils/Makefile.am index 837f861..c3b09cd 100644 --- a/binutils/Makefile.am +++ b/binutils/Makefile.am @@ -287,8 +287,12 @@ DISTCLEANFILES = stamp-under sysinfo underscore.c sysroff.c sysroff.h \ DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h rm -f DEP1 $(MAKE) MKDEP="$(MKDEP)" DEP1 - sed -f dep.sed < DEP1 > $@ - echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@ + if grep ' /' DEP1 > /dev/null 2> /dev/null; then \ + echo 'make DEP failed!'; exit 1; \ + else \ + sed -f dep.sed < DEP1 > $@; \ + echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@; \ + fi DEP1: $(CFILES) $(GENERATED_CFILES) echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2 |