NetBSD/distrib/notes/Makefile
mikel aee96d97f1 add support for automatically inserting the NetBSD version, using the
version number from /sys/conf/osrelease.sh.
replace MACHINE symbol with _MACH, and define _VER for version number.
fileset names must still be updated by hand; this is a bit harder to
  fix unless GNU cpp's -traditional-cpp flag is used.
1997-06-17 08:00:13 +00:00

18 lines
546 B
Makefile

# $NetBSD: Makefile,v 1.4 1997/06/17 08:00:13 mikel Exp $
M?= ${MACHINE}
V!= /bin/sh ${.CURDIR}/../../sys/conf/osrelease.sh
TARG= INSTALL.$M
SRC= ${.CURDIR}/INSTALL
DEP= ${SRC} ${.CURDIR}/mirrors ${.CURDIR}/$M/whatis ${.CURDIR}/$M/contents \
${.CURDIR}/$M/hardware ${.CURDIR}/$M/xfer ${.CURDIR}/$M/prep \
${.CURDIR}/$M/install ${.CURDIR}/$M/upgrade ${.CURDIR}/donations \
${.CURDIR}/legal.common ${.CURDIR}/$M/legal
${TARG}: ${DEP}
cpp -I${.CURDIR}/$M -D_MACH=$M -D_VER=$V -Uunix -U$M -C -P ${SRC} > $@
clean cleandir:
/bin/rm INSTALL.*