Oops, remove comma.
[dragonfly.git] / libexec / atrun / Makefile
1 # $FreeBSD: src/libexec/atrun/Makefile,v 1.7.2.2 2001/04/25 10:40:47 ru Exp $
2 # $DragonFly: src/libexec/atrun/Makefile,v 1.3 2004/09/20 19:32:19 joerg Exp $
3
4 MAINSRC=${.CURDIR}/../../usr.bin/at
5
6 .include "${MAINSRC}/Makefile.inc"
7
8 PROG=   atrun
9 SRCS=   atrun.c gloadavg.c
10 MAN=    atrun.8
11 WARNS?= 6
12
13 BINDIR= ${ATLIB_DIR}
14 CLEANFILES= ${MAN}
15
16 CFLAGS+=-I${MAINSRC} -I${.CURDIR}
17
18 atrun.8: atrun.man
19         @${ECHO} Making ${.TARGET:T} from ${.ALLSRC:T}; \
20         sed -e \
21                 "s@_ATSPOOL_DIR@$(ATSPOOL_DIR)@g; \
22                 s@_ATJOB_DIR@$(ATJOB_DIR)@g; \
23                 s@_ATLIB_DIR@$(ATLIB_DIR)@g; \
24                 s@_LOADAVG_MX@$(LOADAVG_MX)@g;" \
25                 < ${.ALLSRC} > ${.TARGET}
26
27 .include <bsd.prog.mk>