diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-08-17 14:39:06 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-08-17 14:39:45 +0200 |
commit | 2cb273c2dc53e2cdacd1470425a85fceb8944cfc (patch) | |
tree | f03bd51007c1c7fab3a514a1c2b6b0d592e9dd6a /rules | |
parent | 44c0b156254e11f4c1a1bf66a6cf790a5779d774 (diff) | |
download | justbuild-2cb273c2dc53e2cdacd1470425a85fceb8944cfc.tar.gz |
["CC/auto", "config_file"] rename implicit target
... and mention it at the appropriate part of the documentation.
While there, also provide a default TARGETS file.
Diffstat (limited to 'rules')
-rw-r--r-- | rules/CC/auto/RULES | 7 | ||||
-rw-r--r-- | rules/CC/auto/TARGETS | 1 | ||||
-rwxr-xr-x | rules/CC/auto/runner (renamed from rules/CC/auto/config_runner.py) | 0 |
3 files changed, 7 insertions, 1 deletions
diff --git a/rules/CC/auto/RULES b/rules/CC/auto/RULES index 0e156c98..860db01c 100644 --- a/rules/CC/auto/RULES +++ b/rules/CC/auto/RULES @@ -1015,6 +1015,11 @@ , "target configuration. In the usual case, a target using this rule is" , "configured by depending on it from a target that uses the built-in" , "\"configure\" rule." + , "" + , "The actual generation of the header file from the template" + , "is done by the implicit dependency on the \"runner\" target which" + , "can be changed globally by setting this target in the" + , "target layer of this repository." ] , "field_doc": { "output": @@ -1045,7 +1050,7 @@ , "last": "last_list_entry" , "stage_singleton_field": ["", "stage_singleton_field"] } - , "implicit": {"runner": ["config_runner.py"]} + , "implicit": {"runner": ["runner"]} , "expression": { "type": "let*" , "bindings": diff --git a/rules/CC/auto/TARGETS b/rules/CC/auto/TARGETS new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/rules/CC/auto/TARGETS @@ -0,0 +1 @@ +{} diff --git a/rules/CC/auto/config_runner.py b/rules/CC/auto/runner index f938c272..f938c272 100755 --- a/rules/CC/auto/config_runner.py +++ b/rules/CC/auto/runner |