bug-gnulib
[Top][All Lists]
Advanced

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

Re: pmcabe2html example rule question


From: Reuben Thomas
Subject: Re: pmcabe2html example rule question
Date: Wed, 29 Sep 2010 21:58:46 +0100

On 26 September 2010 12:34, Simon Josefsson <address@hidden> wrote:
> Reuben Thomas <address@hidden> writes:
>
>> Given the example rule, the cyclo-${PACKAGE}.html file must be deleted
>> in order to be remade, as the rule's target is itself
>> cyclo-${PACKAGE}.html, with no dependencies. It would be more useful
>> if either the rule depended on the sources (best), or if the target of
>> the rule were, say, simply "cyclo", so that it was always remade.
>>
>> Opinions?
>
> I'd prefer the first approach.  Unconditionally invoking a rule like
> this may leads to problem if the user doesn't have the necessary tool,
> and the file is up to date anyway.

OK, suitable rule attached. I used a variable to hold the name of the
source files because POSIX make doesn't support $+ or $^, at least,
according to make(1posix).

This time my patch includes a real ChangeLog entry!

-- 
http://rrt.sc3d.org

Attachment: 0001-Make-pmccabe2html-cyclo-HTML-be-rebuilt-when-sources.patch
Description: Binary data


reply via email to

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