[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #55560] .SECONDEXPANSION and eval in target-specific prerequisite l
From: |
Quinn Mikelson |
Subject: |
[bug #55560] .SECONDEXPANSION and eval in target-specific prerequisite lists |
Date: |
Sat, 26 Jan 2019 17:55:06 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Linux; Android 9; Pixel 2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.99 Mobile Safari/537.36 |
Follow-up Comment #1, bug #55560 (project make):
I think I have an understanding of what is happening here. Even though make is
processing a separate Target, it's still already performed a first pass on all
of the mentioned target'prerequisite lists s when entering the second
expansion phase. This is evident when attempting to generate new recipes from
within the context of a prerequisite list as you'll get errors about
generating new prerequisites.
Although not a bug, this seems like a heavy restriction. It would be great to
be able to leverage the target-specific variable system to generate
prerequisites to avoid bloating the global namespaces. Are there any
metaprogramming techniques that I could use to get around this limitation?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55560>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/