freebsd-skq/usr.sbin/pwd_mkdb/Makefile
wosch 9643ba6a4a Allow comments in password database. The comments are copied from
the password file into /etc/master.passwd and optional (-p) into
/etc/passwd. Enable this feature with the compile
option -DPASSWD_IGNORE_COMMENTS.

The character `#' introduces a comment. Leading spaces and tabs are
ignored: '^[ \t]*#.*\n$'

Count an empty line - only spaces, tabs or newline - also as a comment.
An empty line at the bottom of /etc/master.passwd is a common
novice error and increased my mail load: '^[ \t]*\n$'
1997-03-08 14:09:24 +00:00

9 lines
155 B
Makefile

# @(#)Makefile 8.1 (Berkeley) 6/6/93
PROG= pwd_mkdb
SRCS= pw_scan.c pwd_mkdb.c
MAN8= pwd_mkdb.8
CFLAGS+= -DPASSWD_IGNORE_COMMENTS
.include <bsd.prog.mk>