xref: /freebsd/libexec/atrun/Makefile (revision 5ebc7e6281887681c3a348a5a4c902e262ccd656)
1#	$Id: Makefile,v 1.1 1994/01/05 01:02:56 nate Exp $
2
3MAINSRC= ${.CURDIR}/../../usr.bin/at
4
5.include "$(MAINSRC)/Makefile.inc"
6
7PROG=	atrun
8MAN8=	atrun.8
9
10BINDIR= $(ATLIB_DIR)
11MANSRC= .
12CLEANFILES += ${MAN8}
13MANDEPEND = ${MAN8}
14
15CFLAGS+= -I$(MAINSRC)
16
17${MAN8}: atrun.man
18	sed -e \
19		"s@_ATSPOOL_DIR@$(ATSPOOL_DIR)@g; \
20		s@_ATJOB_DIR@$(ATJOB_DIR)@g; \
21		s@_ATLIB_DIR@$(ATLIB_DIR)@g; \
22		s@_LOADAVG_MX@$(LOADAVG_MX)@g;" \
23		< $? > $@
24
25.include <bsd.prog.mk>
26