Don't omit ac(8) as part of WITHOUT_ACCT.

The WITHOUT_ACCT switch is supposed to omit tools related to process
accounting, namely accton and sa. ac(8) is just a simple tool that
prints statistics based on data in the utx.log database. It has nothing
to do with the former.
This commit is contained in:
Ed Schouten 2011-06-17 20:47:44 +00:00
parent 1c2ed38455
commit f1c344b293
4 changed files with 6 additions and 13 deletions

View file

@ -2,12 +2,7 @@
.include <bsd.own.mk>
FILES= 999.local
# NB: keep these sorted by MK_* knobs
.if ${MK_ACCT} != "no"
FILES+= 200.accounting
.endif
FILES= 200.accounting \
999.local
.include <bsd.prog.mk>

View file

@ -8,10 +8,8 @@
.if ${MK_ACCT} == no
OLD_FILES+=etc/periodic/daily/310.accounting
OLD_FILES+=etc/periodic/monthly/200.accounting
OLD_FILES+=usr/sbin/ac
OLD_FILES+=usr/sbin/accton
OLD_FILES+=usr/sbin/sa
OLD_FILES+=usr/share/man/man8/ac.8.gz
OLD_FILES+=usr/share/man/man8/accton.8.gz
OLD_FILES+=usr/share/man/man8/sa.8.gz
.endif

View file

@ -1,5 +1,5 @@
.\" $FreeBSD$
Set to not build process accounting tools such as
.Xr ac 8
.Xr accton 8
and
.Xr accton 8 .
.Xr sa 8 .

View file

@ -3,7 +3,8 @@
.include <bsd.own.mk>
SUBDIR= adduser \
SUBDIR= ac \
adduser \
arp \
bootparamd \
burncd \
@ -99,7 +100,6 @@ SUBDIR= adduser \
# NB: keep these sorted by MK_* knobs
.if ${MK_ACCT} != "no"
SUBDIR+= ac
SUBDIR+= accton
SUBDIR+= sa
.endif