diff options
author | bde <bde@FreeBSD.org> | 1998-05-05 03:59:27 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-05-05 03:59:27 +0000 |
commit | 0500cc5c9f17a7a7f3fd0bb692569d0c5c1880dc (patch) | |
tree | b98d22ea79dbaca891c07c68589464a9cbe14d8c /share/mk/bsd.prog.mk | |
parent | 25b5448723fb1b13c01109c64335a7b14cc0f924 (diff) | |
download | FreeBSD-src-0500cc5c9f17a7a7f3fd0bb692569d0c5c1880dc.zip FreeBSD-src-0500cc5c9f17a7a7f3fd0bb692569d0c5c1880dc.tar.gz |
Oops, the symlink from y.tab.h doesn't work until its target exists.
Diffstat (limited to 'share/mk/bsd.prog.mk')
-rw-r--r-- | share/mk/bsd.prog.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk index 1e0a91a..ff96a3a 100644 --- a/share/mk/bsd.prog.mk +++ b/share/mk/bsd.prog.mk @@ -1,5 +1,5 @@ # from: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91 -# $Id: bsd.prog.mk,v 1.68 1998/05/04 13:54:41 bde Exp $ +# $Id: bsd.prog.mk,v 1.69 1998/05/04 17:43:46 bde Exp $ .if exists(${.CURDIR}/../Makefile.inc) .include "${.CURDIR}/../Makefile.inc" @@ -47,7 +47,7 @@ ${_YC} ${_YH}: ${_YSRC} SRCS:= ${SRCS:S/${_YSRC}/${_YC}/} CLEANFILES:= ${CLEANFILES} ${_YC} .if ${YFLAGS:M-d} != "" -y.tab.h: +y.tab.h: ${_YH} ln -sf ${_YH} ${.TARGET} SRCS:= ${SRCS} y.tab.h CLEANFILES:= ${CLEANFILES} ${_YH} y.tab.h |