[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
why would chaining built in implicit rules not work?
From: |
Mark Galeck (CW) |
Subject: |
why would chaining built in implicit rules not work? |
Date: |
Sun, 13 Nov 2011 20:33:49 -0800 |
Hello,
The manual says about one of "built-in" implicit rules:
"a file n is copied from n.sh"
I have a rule like this:
%.sh: %.sh.in
cp $< $@
and then if a file foobar.sh.in is present, and I need to update "foobar",
then sometimes it works, and sometimes it says "no rule to make foobar.sh", and
make fails. Curiously, even when make fails, the file "foobar" is nevertheless
updated correctly.
I think I understand about .PRECIOUS, .SUFFIXES and I don't think these have
anything to do with the problem.
Due to the intermittent and unpredictable nature of the problem, it happens
only sometimes, not often, I have not been able to get a small reproducible
example to show you.
So I am asking if anybody has seen that kind of problem before and what the
solution was.
Thank you,
Mark
- RE: updating target at the end of recipe, after updating prerequisites, might not work?, (continued)
- RE: updating target at the end of recipe, after updating prerequisites, might not work?, Paul Smith, 2011/11/14
- RE: updating target at the end of recipe, after updating prerequisites, might not work?, Mark Galeck (CW), 2011/11/14
- RE: updating target at the end of recipe, after updating prerequisites, might not work?, Paul Smith, 2011/11/14
- Re: updating target at the end of recipe, after updating prerequisites, might not work?, Eli Zaretskii, 2011/11/14
- RE: updating target at the end of recipe, after updating prerequisites, might not work?, Mark Galeck (CW), 2011/11/14
- Re: updating target at the end of recipe, after updating prerequisites, might not work?, David Boyce, 2011/11/14
- Re: updating target at the end of recipe, after updating prerequisites, might not work?, Eli Zaretskii, 2011/11/14
- Re: updating target at the end of recipe, after updating prerequisites, might not work?, Paul Smith, 2011/11/14
- Re: updating target at the end of recipe, after updating prerequisites, might not work?, David Boyce, 2011/11/14
- Re: updating target at the end of recipe, after updating prerequisites, might not work?, Paul Smith, 2011/11/14
why would chaining built in implicit rules not work?,
Mark Galeck (CW) <=