summaryrefslogtreecommitdiffstats
path: root/libexec/atrun/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/atrun/Makefile')
-rw-r--r--libexec/atrun/Makefile24
1 files changed, 18 insertions, 6 deletions
diff --git a/libexec/atrun/Makefile b/libexec/atrun/Makefile
index 27b8ea3..cb69fd1 100644
--- a/libexec/atrun/Makefile
+++ b/libexec/atrun/Makefile
@@ -1,13 +1,25 @@
-# $Id: Makefile,v 1.2 1993/12/05 12:26:10 cgd Exp $
+# $Id: Makefile,v 1.1 1994/01/05 01:02:56 nate Exp $
+
+MAINSRC= ${.CURDIR}/../../usr.bin/at
+
+.include "$(MAINSRC)/Makefile.inc"
PROG= atrun
MAN8= atrun.8
-BINDIR= /usr/libexec
-BINOWN= root
+BINDIR= $(ATLIB_DIR)
+MANSRC= .
+CLEANFILES += ${MAN8}
+MANDEPEND = ${MAN8}
+
+CFLAGS+= -I$(MAINSRC)
-CFLAGS+= -I${.CURDIR}/../../usr.bin/at
-LDADD+= -lutil
-DPADD+= ${LIBUTIL}
+${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;" \
+ < $? > $@
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud