public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-build/make/
Date: Sat, 23 Mar 2024 08:37:40 +0000 (UTC)	[thread overview]
Message-ID: <1711182936.f41c12dac57827e5af88404a24bb0706f306b4bb.sam@gentoo> (raw)

commit:     f41c12dac57827e5af88404a24bb0706f306b4bb
Author:     Marco Sirabella <marco <AT> sirabella <DOT> org>
AuthorDate: Tue Feb 27 07:52:00 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 23 08:35:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f41c12da

dev-build/make: Build & install html+pdf docs

Signed-off-by: Marco Sirabella <marco <AT> sirabella.org>
Closes: https://github.com/gentoo/gentoo/pull/35547
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-build/make/make-4.4.1-r1.ebuild | 8 +++++++-
 dev-build/make/make-9999.ebuild     | 8 +++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/dev-build/make/make-4.4.1-r1.ebuild b/dev-build/make/make-4.4.1-r1.ebuild
index c71a60cbfb18..3a67d090b66c 100644
--- a/dev-build/make/make-4.4.1-r1.ebuild
+++ b/dev-build/make/make-4.4.1-r1.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="GPL-3+"
 SLOT="0"
-IUSE="guile nls static test"
+IUSE="doc guile nls static test"
 RESTRICT="!test? ( test )"
 
 DEPEND="guile? ( >=dev-scheme/guile-1.8:= )"
@@ -31,6 +31,7 @@ RDEPEND="
 	nls? ( virtual/libintl )
 "
 BDEPEND="
+	doc? ( sys-apps/texinfo )
 	nls? ( sys-devel/gettext )
 	verify-sig? ( sec-keys/openpgp-keys-make )
 	test? ( dev-lang/perl )
@@ -71,7 +72,12 @@ src_configure() {
 	econf "${myeconfargs[@]}"
 }
 
+src_compile() {
+	emake all $(usev doc 'pdf html')
+}
+
 src_install() {
+	use doc && HTML_DOCS=( doc/make.html/. ) DOCS="$DOCS doc/make.pdf"
 	default
 
 	dosym gmake /usr/bin/make

diff --git a/dev-build/make/make-9999.ebuild b/dev-build/make/make-9999.ebuild
index 6505deff9787..568476904fc1 100644
--- a/dev-build/make/make-9999.ebuild
+++ b/dev-build/make/make-9999.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="GPL-3+"
 SLOT="0"
-IUSE="guile nls static test"
+IUSE="doc guile nls static test"
 RESTRICT="!test? ( test )"
 
 DEPEND="guile? ( >=dev-scheme/guile-1.8:= )"
@@ -31,6 +31,7 @@ RDEPEND="
 	nls? ( virtual/libintl )
 "
 BDEPEND="
+	doc? ( sys-apps/texinfo )
 	nls? ( sys-devel/gettext )
 	verify-sig? ( sec-keys/openpgp-keys-make )
 	test? ( dev-lang/perl )
@@ -71,7 +72,12 @@ src_configure() {
 	econf "${myeconfargs[@]}"
 }
 
+src_compile() {
+	emake all $(usev doc 'pdf html')
+}
+
 src_install() {
+	use doc && HTML_DOCS=( doc/make.html/. ) DOCS="$DOCS doc/make.pdf"
 	default
 
 	dosym gmake /usr/bin/make


             reply	other threads:[~2024-03-23  8:37 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-23  8:37 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-01 23:28 [gentoo-commits] repo/gentoo:master commit in: dev-build/make/ Conrad Kostecki
2024-11-19 14:10 Sam James
2024-11-19 14:10 Sam James
2024-11-08 11:57 Sam James
2024-11-08 10:59 Sam James
2024-11-08  6:31 Sam James
2024-11-08  3:54 Sam James
2024-08-18 19:44 Arsen Arsenović
2024-06-03  1:05 Sam James
2024-04-30  6:42 Sam James
2024-04-22  3:58 Sam James
2024-03-23  8:37 Sam James
2024-03-23  8:37 Sam James
2024-03-21  2:48 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1711182936.f41c12dac57827e5af88404a24bb0706f306b4bb.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox