From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0EC77158041 for ; Sat, 23 Mar 2024 08:37:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 46B78E2A20; Sat, 23 Mar 2024 08:37:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2C434E2A20 for ; Sat, 23 Mar 2024 08:37:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 76FB8342F94 for ; Sat, 23 Mar 2024 08:37:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D2C1E15D2 for ; Sat, 23 Mar 2024 08:37:40 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1711182936.f41c12dac57827e5af88404a24bb0706f306b4bb.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-build/make/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-build/make/make-4.4.1-r1.ebuild dev-build/make/make-9999.ebuild X-VCS-Directories: dev-build/make/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f41c12dac57827e5af88404a24bb0706f306b4bb X-VCS-Branch: master Date: Sat, 23 Mar 2024 08:37:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 48bd70c5-8f4f-4707-9453-ce9db3e59e37 X-Archives-Hash: a94ac2006e322f58fdf8d2e2e7105e25 commit: f41c12dac57827e5af88404a24bb0706f306b4bb Author: Marco Sirabella sirabella org> AuthorDate: Tue Feb 27 07:52:00 2024 +0000 Commit: Sam James gentoo 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 sirabella.org> Closes: https://github.com/gentoo/gentoo/pull/35547 Signed-off-by: Sam James 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