NetBSD/usr.bin/crontab/Makefile
jtc d6afb2d353 Hack to get both crontab.1 and crontab.5 manpages installed without having
to rename either file (before crontab.5 was renamed crontab.5.5).
1994-01-05 21:57:48 +00:00

30 lines
739 B
Makefile

# $Id: Makefile,v 1.7 1994/01/05 21:57:48 jtc Exp $
PROG= crontab
SRCS= crontab.c misc.c entry.c env.c compat.c
CFLAGS+=-I${.CURDIR} -I${.CURDIR}/../../libexec/cron -DDEBUGGING=1
BINOWN =root
BINMODE=4111
MAN1=
MAN5=
CLEANFILES=crontab.1.0 crontab.5.0
.if !defined(NOMAN)
all: crontab.1.0 crontab.5.0
crontab.1.0: crontab.1
nroff -mandoc ${.ALLSRC} > ${.TARGET}
crontab.5.0: crontab.5
nroff -mandoc ${.ALLSRC} > ${.TARGET}
maninstall:
@install -d -o root -g wheel -m 755 ${DESTDIR}${MANDIR}1
${MINSTALL} crontab.1.0 ${DESTDIR}${MANDIR}1/crontab.0
@install -d -o root -g wheel -m 755 ${DESTDIR}${MANDIR}5
${MINSTALL} crontab.5.0 ${DESTDIR}${MANDIR}5/crontab.0
.endif
.include <bsd.prog.mk>
.PATH: ${.CURDIR}/../../libexec/cron