nathanwilliams-ct opened a new issue, #2210:
URL: https://github.com/apache/buildstream/issues/2210

   > While reviewing this it has reminded me, for these examples, I have always 
wanted something like below to help readers understand these features better.
   > 
   > ---
   > 
   > An element using `kind:autotools` will have the following default 
behaviour from the plugin:
   > ```code::yaml
   > config:
   >   configure-commands:
   >   - |
   >     %{autogen}
   >   - |
   >     %{configure}
   > ```
   > In the element, additional configure-commands can be set before the 
default ones like this:
   > ```code::yaml
   > kind:autotools
   > **snip**
   > config:
   >  configure-commands:
   >    (<):
   >      # Before configuring, lets make sure we're using
   >      # the latest config.sub & config.guess
   >      - cp %{datadir}/automake-*/config.{sub,guess} .
   > **snip**
   > ```
   > which will result in the following being loaded and built by Buildstream:
   > ```code::yaml
   > kind:autotools
   > **snip**
   > config:
   >  configure-commands:
   >   # Before configuring, lets make sure we're using
   >   # the latest config.sub & config.guess
   >   - cp %{datadir}/automake-*/config.{sub,guess} .
   >   - |
   >     %{autogen}
   >   - |
   >     %{configure}
   > **snip**
   > ```
   > ---
   > but this is probably out of scope for this PR, so I'll open up a follow-up 
issue.
   > 
   >  
   
    _Originally posted by @nathanwilliams-ct in 
[#2202](https://github.com/apache/buildstream/pull/2202/changes#r4348037830)_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to