b58bc8da9b
really used in bsd.man.mk). Don't uselessly set MANSRC ("." is in the path by default, and there are no ordering problems). Fixed some other style bugs.
25 lines
436 B
Makefile
25 lines
436 B
Makefile
# $FreeBSD$
|
|
|
|
MAINSRC=${.CURDIR}/../../usr.bin/at
|
|
|
|
.include "${MAINSRC}/Makefile.inc"
|
|
|
|
PROG= atrun
|
|
MAN8= atrun.8
|
|
SRCS= atrun.c gloadavg.c
|
|
|
|
BINDIR= ${ATLIB_DIR}
|
|
CLEANFILES= ${MAN8}
|
|
|
|
CFLAGS+=-I${MAINSRC} -I${.CURDIR}
|
|
|
|
${MAN8}: atrun.man
|
|
sed -e \
|
|
"s@_ATSPOOL_DIR@$(ATSPOOL_DIR)@g; \
|
|
s@_ATJOB_DIR@$(ATJOB_DIR)@g; \
|
|
s@_ATLIB_DIR@$(ATLIB_DIR)@g; \
|
|
s@_LOADAVG_MX@$(LOADAVG_MX)@g;" \
|
|
< ${.ALLSRC} > ${.TARGET}
|
|
|
|
.include <bsd.prog.mk>
|