tmp_version.c also needs to depend up ${BIND_DIST_DIR}/Version
This commit is contained in:
parent
537396d314
commit
0944ed1dd1
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.9 2001/02/11 01:33:59 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.10 2002/06/28 16:27:14 lukem Exp $
|
||||
|
||||
.include "../Makefile.inc"
|
||||
.PATH: ${BIND_DIST_DIR}/bin/named-xfer ${BIND_DIST_DIR}/bin/named \
|
||||
@ -15,7 +15,8 @@ MAN= ${PROG}.8
|
||||
BINDIR= /usr/libexec
|
||||
LDSTATIC?=-static
|
||||
|
||||
tmp_version.c: ${BIND_DIST_DIR}/bin/named/version.c Makefile ../Makefile
|
||||
tmp_version.c: ${BIND_DIST_DIR}/bin/named/version.c Makefile ../Makefile \
|
||||
${BIND_DIST_DIR}/Version
|
||||
(u=$${USER-root} d=`pwd` h=`${HOSTNAMECMD}` t=`date`; \
|
||||
sed -e "s|%WHEN%|$${t}|" -e "s|%VERSION%|"${VER}"|" \
|
||||
-e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.10 2000/11/10 09:56:58 itojun Exp $
|
||||
# $NetBSD: Makefile,v 1.11 2002/06/28 16:27:15 lukem Exp $
|
||||
|
||||
.include "../Makefile.inc"
|
||||
.PATH: ${BIND_DIST_DIR}/bin/named \
|
||||
@ -29,7 +29,8 @@ FILESDIR= /usr/share/examples/named
|
||||
|
||||
HOSTNAMECMD= hostname
|
||||
|
||||
tmp_version.c: ${BIND_DIST_DIR}/bin/named/version.c Makefile ../Makefile
|
||||
tmp_version.c: ${BIND_DIST_DIR}/bin/named/version.c Makefile ../Makefile \
|
||||
${BIND_DIST_DIR}/Version
|
||||
(u=$${USER-root} d=`pwd` h=`${HOSTNAMECMD}` t=`date`; \
|
||||
sed -e "s|%WHEN%|$${t}|" -e "s|%VERSION%|"${VER}"|" \
|
||||
-e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
|
||||
|
Loading…
Reference in New Issue
Block a user