« Previous | Next » 

Revision 490bec02

ID490bec02f31df658fa47535686468085b21ba782
Parent 1d45f7a0
Child 55398706

Added by Iustin Pop almost 12 years ago

Explicitly terminate some make rules

Generic rules like:

%: %.in

have the downside that the source (%.in) itself matches the target
(via %.in: %.in.in). This leads to things like:

Looking for a rule with intermediate file `doc/examples/hooks/ipsec.in.in'.
Trying pattern rule with stem `ipsec.in.in'.
Trying implicit prerequisite `doc/examples/hooks/ipsec.in.in.in'.
Trying pattern rule with stem `ipsec.in.in'.
Trying implicit prerequisite `doc/examples/hooks/ipsec.in.in.in'.
Looking for a rule with intermediate file `doc/examples/hooks/ipsec.in.in.in'.
Rejecting impossible implicit prerequisite `doc/examples/hooks/ipsec.in.in'.

To fix this, we need to tell make that such rules are terminating, so
that it doesn't recurse into them.

Signed-off-by: Iustin Pop <>
Reviewed-by: Guido Trotter <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences