NetBSD/distrib/notes/Makefile.inc
lukem 8c9f01b5c5 - Replace inline mirrors list with a link to
http://www.netbsd.org/Sites/net.html
  It's probably safe to assume that a user wanting access to a mirror
  site can access this URL...
- Highlight that with the latest BIND code you need to now use
	options { version "newfoo"; }
  to change the infoleak string.  (1.3.3 didn't have the infoleak,
  but it crept back into 1.4)
1999-12-08 03:57:29 +00:00

74 lines
1.6 KiB
Makefile

# $NetBSD: Makefile.inc,v 1.10 1999/12/08 03:57:29 lukem Exp $
# Ross Harvey <ross@netbsd.org>
M?= ${.CURDIR:T}
V!= /bin/sh ${.CURDIR}/../../../sys/conf/osrelease.sh
V_S!= /bin/sh ${.CURDIR}/../../../sys/conf/osrelease.sh -s
MAIN= ${.CURDIR}/../common/main ${EXTRA}
TARG= INSTALL
TARGS= ${TARG}.ps ${TARG}.txt ${TARG}.html ${TARG}.more
SRCS= ${MAIN} whatis contents hardware xfer prep install\
upgrade donations legal.common legal postinstall ../Makefile.inc\
${MERGED_SRCS}
ICMD= ${INSTALL} ${RENAME} ${PRESERVE} ${COPY} \
-o root -g wheel -m ${NONBINMODE}
PRESET= ${GFLAGS} -dV=$V -dV_S=${V_S} -dMACHINE=$M -d.CURDIR=${.CURDIR} -r$M=1
POST_PLAIN= -P-b -P-u -P-o
ARGS_PS= ${PRESET} -dformat=PostScript
ARGS_TXT= ${PRESET} -dformat=ASCII ${POST_PLAIN} -Tascii
ARGS_HTML= ${PRESET} -dformat=HTML ${POST_PLAIN} -Tlatin1 -ww
ARGS_MORE= ${PRESET} -dformat=more -P-h -Tascii
#
# For example...
#
# .if ri386 ...stuff...
# .Ss "Install notes for NetBSD/\*[MACHINE]"
#
CLEANFILES+=${TARGS}
.for i in ps txt html more
all: ${TARG}.$i
.endfor
${TARG}.ps: ${SRCS}
groff ${ARGS_PS} -mdoc ${MAIN} > $@
${TARG}.txt: ${SRCS}
groff ${ARGS_TXT} -mdoc ${MAIN} > $@
${TARG}.html: ${SRCS}
groff ${ARGS_HTML} -mdoc2html ${MAIN} > $@
${TARG}.more: ${SRCS}
groff ${ARGS_MORE} -mdoc ${MAIN} > $@
echosrcs! ${SRCS}
@echo ${.ALLSRC}
echomore!
@echo ${.OBJDIR}/${TARG}.more
.ifndef RELEASEDIR
release:
@echo setenv RELEASEDIR first
@false
.else
release:
.for i in ${TARGS}
${ICMD} ${i} ${RELEASEDIR}/.
.endfor
.endif
.PATH: ${.CURDIR}/../common
# make the "afterdepend" rule happy
.depend:
@touch $@