By adding a well-placed space or two, 'make depend' no longer loses

due to a directory name like 'arc.current' messing up a sed substitution.
This commit is contained in:
oster 2001-07-19 01:46:15 +00:00
parent 4331a0fffa
commit fd5247de51
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.mips,v 1.15 2001/07/15 06:38:07 takemura Exp $
# $NetBSD: Makefile.mips,v 1.16 2001/07/19 01:46:15 oster Exp $
# Makefile for NetBSD
#
@ -220,7 +220,7 @@ depend: .depend
${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${CFLAGS} \
${CPPFLAGS} < ${MIPS}/mips/genassym.cf
@sed -e 's/.*\.o:.*\.c/assym.h:/' < assym.dep >> .depend
@sed -e 's/.*\.o:.*\.c /assym.h: /' < assym.dep >> .depend
@rm -f assym.dep
dependall: depend all