From 86f792b120d7cba75a296604e48f90a52aa4e2b0 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Mon, 15 May 2000 15:01:13 +0000 Subject: 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. --- libexec/atrun/Makefile | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'libexec/atrun') diff --git a/libexec/atrun/Makefile b/libexec/atrun/Makefile index 563e10196549d..bcb64c11c0920 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 -- cgit v1.3