s/VER/DISTRIBVER/

This commit is contained in:
lukem 2002-04-26 15:25:33 +00:00
parent 5bf6e9db83
commit 29d47e20ef
2 changed files with 6 additions and 12 deletions

View File

@ -1,9 +1,3 @@
# $NetBSD: Makefile.inc,v 1.3 2002/04/10 15:05:41 lukem Exp $ # $NetBSD: Makefile.inc,v 1.4 2002/04/26 15:25:33 lukem Exp $
.include "../../../Makefile.inc"
# REV is revision without dots, as in "12C"
# VER is revision with dots, as in "1.2C"
REV!=sh ${_SRC_TOP_}/sys/conf/osrelease.sh -s
VER!=sh ${_SRC_TOP_}/sys/conf/osrelease.sh
.include "../../Makefile.inc"

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 2001/10/13 06:15:16 jmc Exp $ # $NetBSD: Makefile,v 1.9 2002/04/26 15:25:34 lukem Exp $
TOP= ${.CURDIR}/.. TOP= ${.CURDIR}/..
@ -30,13 +30,13 @@ MTREE?= mtree
DISKTYPE= floppy3 DISKTYPE= floppy3
install.sh: install.tmpl install.sh: install.tmpl
sed "s/@@VERSION@@/${VER}/" < ${.ALLSRC} > ${.TARGET} sed "s/@@VERSION@@/${DISTRIBVER}/" < ${.ALLSRC} > ${.TARGET}
upgrade.sh: upgrade.tmpl upgrade.sh: upgrade.tmpl
sed "s/@@VERSION@@/${VER}/" < ${.ALLSRC} > ${.TARGET} sed "s/@@VERSION@@/${DISTRIBVER}/" < ${.ALLSRC} > ${.TARGET}
start.sh: start.tmpl start.sh: start.tmpl
sed "s/@@VERSION@@/${VER}/" < ${.ALLSRC} > ${.TARGET} sed "s/@@VERSION@@/${DISTRIBVER}/" < ${.ALLSRC} > ${.TARGET}
all: ${AUXTARGETS} ${CBIN} all: ${AUXTARGETS} ${CBIN}
dd if=/dev/zero of=${IMAGE} count=3074 dd if=/dev/zero of=${IMAGE} count=3074