Skip to content

Commit

Permalink
Merge pull request #355 from openSUSE/wip-fix-the-build
Browse files Browse the repository at this point in the history
obs_build_config: refrain from nesting screen inside para
  • Loading branch information
hennevogel authored Jul 3, 2024
2 parents 3b6d189 + 7bae969 commit 357a3fa
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
3 changes: 3 additions & 0 deletions DC-obs-admin-guide
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,8 @@ PROFCONDITION="bogus"
STYLEROOT="/usr/share/xml/docbook/stylesheet/suse2021-ns"
FALLBACK_STYLEROOT="/usr/share/xml/docbook/stylesheet/suse"

## Use DocBook5 instead of GeekoDoc
DOCBOOK5_RNG_URI="http://docbook.org/xml/5.2/rng/docbookxi.rng"

## enable sourcing
export DOCCONF=$BASH_SOURCE
3 changes: 3 additions & 0 deletions DC-obs-all
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@ PROFCONDITION="bogus"
STYLEROOT="/usr/share/xml/docbook/stylesheet/suse2021-ns"
FALLBACK_STYLEROOT="/usr/share/xml/docbook/stylesheet/suse"

## Use DocBook5 instead of GeekoDoc
DOCBOOK5_RNG_URI="http://docbook.org/xml/5.2/rng/docbookxi.rng"

## enable sourcing
export DOCCONF=$BASH_SOURCE
3 changes: 3 additions & 0 deletions DC-obs-user-guide
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,8 @@ PROFCONDITION="bogus"
STYLEROOT="/usr/share/xml/docbook/stylesheet/suse2021-ns"
FALLBACK_STYLEROOT="/usr/share/xml/docbook/stylesheet/suse"

## Use DocBook5 instead of GeekoDoc
DOCBOOK5_RNG_URI="http://docbook.org/xml/5.2/rng/docbookxi.rng"

## enable sourcing
export DOCCONF=$BASH_SOURCE
14 changes: 8 additions & 6 deletions xml/obs_build_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -973,18 +973,20 @@ Support: pax debbuild</screen>
<para>
An alternative way to enable caching based on build dependencies is to
add "--enable-cache" as dependency, for example via a Substitute rule:
<screen><command>
Substitute: gcc-c++ gcc-c++ --enable-ccache
</command></screen>
</para>
<screen><command>
Substitute: gcc-c++ gcc-c++ --enable-ccache
</command></screen>
<para>
This will always enable ccache when a direct build depdency to gcc-c++
is required.
</para>
<para>
It is also possible to set the type, eg:
<screen><command>
Substitute: cargo cargo --enable-ccache=sccache
</command></screen>
</para>
<screen><command>
Substitute: cargo cargo --enable-ccache=sccache
</command></screen>
</sect1>

<sect1 xml:id="sec.prjconfig.macros">
Expand Down

0 comments on commit 357a3fa

Please sign in to comment.