-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add buildtarget element #6
Comments
Please provide an example of the intended usage. The TC would like to understand how this would work in different build environment contexts (ant, make, maven, travis, etc.). Should there be a more generic element, or other elements that might be needed to describe this? |
This is taken from FreeBSD Porters' Handbook (we use a customzied DB5 schema), you can see the whole XML here. And the rendered version. |
This change is implemented in the new beta schema release available at: https://docbook.org/xml/5.2b04/ Please test it and give us feedback. |
Thank you for adding this element to the schema! I believe that it should also be allowed inside userinput. It is quite common that we quote command lines when the build target is referred, e.g.: <para>To build the software, run the <buildtarget>all</buildtarget> target:</para>
<screen><userinput><command>make</command> <buildtarget>all</buildtarget></userinput></screen> |
So adding buildtarget to db.os.inlines pattern as well to existing db.programming.inlines should do the trick. Lets TC discuss this at their next meeting and eventually we can extended places where buildtarget is allowed in the next release. |
Yes, I think so. At FreeBSD, we extensively refer to buildtarget in userinput so with the current implementation, we will still need schema customization for this. Do you mean the next beta or 5.3? It's such a small addition, it would be nice if it could fit into the final 5.2. :) |
Of course I meant next beta release, V5.2b05, that should be released after next DocBook TC meeting with agreed changes. |
For make, Ant etc. build targets. Should be allowed inline and should allow replaceable inside. The latter is useful to describe a group of targets with a replaceable suffix that have a similar outcome.
The text was updated successfully, but these errors were encountered: