get make depend right, so that it depends .po's too.

This commit is contained in:
cgd 1993-06-02 14:56:16 +00:00
parent ed3ef484f2
commit 70d0145d0f

View File

@ -99,7 +99,7 @@ depend: .depend
.depend: ${SRCS}
mkdep ${CFLAGS:M-[ID+]*} ${AINC} ${.ALLSRC}
@(TMP=/tmp/_depend$$$$; \
sed -e 's/^\([^\.]*\).o:/\1.o \1.po:/' < .depend > $$TMP; \
sed -e 's/^\([^\.]*\).o[ ]*:/\1.o \1.po:/' < .depend > $$TMP; \
mv $$TMP .depend)
.endif