bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: string.h uses restrict


From: Reuben Thomas
Subject: Re: string.h uses restrict
Date: Wed, 1 Apr 2009 19:55:08 +0100 (BST)
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)

On Wed, 1 Apr 2009, Simon Josefsson wrote:

Coreutils doesn't use the gnulib maintainer-makefile module, I believe,
so at minimum it would need a patch that made it use maint.mk from
gnulib.

Or it could use maintainer-makefile, unless there's some reason why not?

Further, some of the rules in coreutils's maint.mk may not be appropriate for all projects: for example, some rules assumes that you use git as the VC which isn't true for all projects that use gnulib. Such rules could be moved from coreutils' maint.mk to coreutils cfg.mk. This allows the gnulib maint.mk file to contain generic code.
[...]
I think the best would be to adapt the gnulib approach, and patch
coreutils to generate the same list of files.  That way, gnulib maint.mk
doesn't have to assume that the vc is git.

Or would it be possible to have overridable rules, defaulting to the current naive find-based ones, but allowing git-based rules--or in future rules rules for other VCSes--to be selected?

Dealing with this problem is the reason I have not worked on this
before, merging the code isn't completely trivial..  another solution
may be to strip down the gnulib maint.mk completely so it doesn't
conflict any more, and move most of the rules in coreutils maint.mk to
coreutils cfg.mk.

That sounds like a good first step.

Would you like to suggest what I should do next to my patch?

--
http://rrt.sc3d.org/ | That's about as useful as a paper wok




reply via email to

[Prev in Thread] Current Thread [Next in Thread]