summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2000-05-15 15:01:13 +0000
committerbde <bde@FreeBSD.org>2000-05-15 15:01:13 +0000
commitb58bc8da9b494ed261f2be5e105b8c75a28a47d8 (patch)
tree04784d0b9ebe07a1b29dfa596a4ce078581e3f36 /libexec
parentceebfbd75c1c3f49d33b89249e113e0ff6d04f3e (diff)
downloadFreeBSD-src-b58bc8da9b494ed261f2be5e105b8c75a28a47d8.zip
FreeBSD-src-b58bc8da9b494ed261f2be5e105b8c75a28a47d8.tar.gz
Don't uselessly set MANDEPEND (it isn't used in this Makefile, and isn't
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.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/atrun/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/libexec/atrun/Makefile b/libexec/atrun/Makefile
index 563e101..bcb64c1 100644
--- a/libexec/atrun/Makefile
+++ b/libexec/atrun/Makefile
@@ -1,19 +1,17 @@
# $FreeBSD$
-MAINSRC= ${.CURDIR}/../../usr.bin/at
+MAINSRC=${.CURDIR}/../../usr.bin/at
-.include "$(MAINSRC)/Makefile.inc"
+.include "${MAINSRC}/Makefile.inc"
PROG= atrun
MAN8= atrun.8
-SRCS= atrun.c gloadavg.c
+SRCS= atrun.c gloadavg.c
-BINDIR= $(ATLIB_DIR)
-MANSRC= .
-CLEANFILES += ${MAN8}
-MANDEPEND = ${MAN8}
+BINDIR= ${ATLIB_DIR}
+CLEANFILES= ${MAN8}
-CFLAGS+= -I$(MAINSRC) -I${.CURDIR}
+CFLAGS+=-I${MAINSRC} -I${.CURDIR}
${MAN8}: atrun.man
sed -e \
@@ -21,6 +19,6 @@ ${MAN8}: atrun.man
s@_ATJOB_DIR@$(ATJOB_DIR)@g; \
s@_ATLIB_DIR@$(ATLIB_DIR)@g; \
s@_LOADAVG_MX@$(LOADAVG_MX)@g;" \
- < $? > $@
+ < ${.ALLSRC} > ${.TARGET}
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud