From 553b85fe21ff47263d144742eebe21b2fce37de6 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Thu, 14 Nov 2002 23:23:44 +0000 Subject: Create our own version.c instead of snurking it out of ../named/obj --- usr.sbin/named/named-xfer/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'usr.sbin/named/named-xfer/Makefile') diff --git a/usr.sbin/named/named-xfer/Makefile b/usr.sbin/named/named-xfer/Makefile index 3bcc69782dd..8e0c387bb2b 100644 --- a/usr.sbin/named/named-xfer/Makefile +++ b/usr.sbin/named/named-xfer/Makefile @@ -1,9 +1,8 @@ -# $OpenBSD: Makefile,v 1.5 2002/11/14 18:05:19 marc Exp $ +# $OpenBSD: Makefile,v 1.6 2002/11/14 23:23:43 millert Exp $ # $NetBSD: Makefile,v 1.2 1996/02/04 12:02:12 mrg Exp $ # from: $Id: Makefile,v 8.2 1995/12/31 23:28:01 vixie Exp .PATH: ${.CURDIR}/../named \ - ${.CURDIR}/../named/obj \ ${.CURDIR}/../man PROG= named-xfer @@ -13,5 +12,11 @@ MAN= named-xfer.8 BINDIR= /var/named LDSTATIC= ${STATIC} +version.c: Version.c ${.CURDIR}/../Makefile + (u=root d=`pwd` h=localhost t=`date +%c`; \ + sed -e "s|%WHEN%|$${t}|" -e "s|%VERSION%|"${VER}"|" \ + -e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \ + < ${.CURDIR}/../named/Version.c > version.c) + .include .include "../../Makefile.inc" -- cgit v1.2.3