[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pmcabe2html example rule question
From: |
Simon Josefsson |
Subject: |
Re: pmcabe2html example rule question |
Date: |
Sun, 26 Sep 2010 13:34:43 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) |
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.
/Simon