Add an ID line at the top (this thing still needs some sort of

copyright, Andrew).
Add support for the distribute target.
This commit is contained in:
Jordan K. Hubbard 1995-01-12 08:20:25 +00:00
parent ec2bb6ade1
commit 161e6a3e83
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5531

View File

@ -1,3 +1,5 @@
# $Id$
BINMODE= 444
BINDIR?= /usr/share/info
MAKEINFO?= makeinfo
@ -15,6 +17,13 @@ MAKEINFOFLAGS?= # --no-split would simplify some things, e.g., compression
all: ${INFO:S/$/.info/g}
DISTRIBUTION?= infodist
.if !target(distribute)
distribute:
cd ${.CURDIR} ; $(MAKE) install DESTDIR=${RELEASEDIR}/${DISTRIBUTION} SH
ARED=copies
.endif
.if defined(SRCS)
${INFO}.info: ${SRCS}
${MAKEINFO} ${MAKEINFOFLAGS} -I ${.CURDIR} ${SRCS:S/^/${.CURDIR}\//g} -o ${INFO}.info