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.
This commit is contained in:
Bruce Evans 2000-05-15 15:01:13 +00:00
parent f88b745f8a
commit 86f792b120
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=60604

View File

@ -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>