Skip to content

Commit

Permalink
app-doc/pms: New USE flag that enables two-sided layout.
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.6, Repoman-2.3.2
  • Loading branch information
ulm committed May 31, 2017
1 parent 19ebddf commit 1ad6ec3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions app-doc/pms/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
<flag name="binary">Download pre-built files instead of building
from sources</flag>
<flag name="html">Generate PMS as .html as well</flag>
<flag name="twoside">Enable two-sided layout suitable for printing</flag>
</use>
</pkgmetadata>
4 changes: 2 additions & 2 deletions app-doc/pms/pms-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Package_Manager_Specification"

LICENSE="CC-BY-SA-3.0"
SLOT="live"
IUSE="html"
IUSE="html twoside"

DEPEND="dev-tex/leaflet
dev-texlive/texlive-bibtexextra
Expand All @@ -28,7 +28,7 @@ DEPEND="dev-tex/leaflet
RDEPEND=""

src_compile() {
emake
emake $(usex twoside TWOSIDE=yes "")
use html && emake html
}

Expand Down

0 comments on commit 1ad6ec3

Please sign in to comment.