Re: Make find(1) standalone - commit candidate

Mark Murray <[email protected]>
Newsgroups gmane.os.freebsd.devel.audit
Message-ID <[email protected]>
> On Wed, 20 Mar 2002 [email protected] wrote:
> 
> OK, except there are now (surprisingly, only) 3 clones of getdate.y
> (the others are in tar and cvs), and the yacc stuff in the Makefile
> is as bogus as before.

Would it make sense to put getdate.y into some library (libutil?)

> The CLEANFILES lines have many style bugs:
> - use of "+=" for the first initialization of a variable.
> - duplicate getdate.c/parsedate.c.  It is added automatically by bsd.prog.mk.
> - bogus y.tab.h.  y.tab.h is not created, since it is not in SRCS.  getdate.h
>   is created instead (and automatically put in CLEANFILES).

CLEANFILES removed.

> The (missing) YFLAGS line has a style bug.  The default YFLAGS is -d.  This
> causes getdate.h to be created and removed, but getdate.h is not used.
> YFLAGS should be set to <nothing> to prevent this garbage.

Null YFLAGS added.

> See tar/Makefile and cvs/lib/Makefile for correct handling of getdate.y.

Maybe these should use the (above) library?

M
-- 
o       Mark Murray
\_
O.\_    Warning: this .sig is umop ap!sdn

To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-audit" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.