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 385EA15800A for ; Thu, 27 Jul 2023 11:45:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 47532E0973; Thu, 27 Jul 2023 11:45:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 2C318E0973 for ; Thu, 27 Jul 2023 11:45:43 +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 33C84340871 for ; Thu, 27 Jul 2023 11:45:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C72A0DD0 for ; Thu, 27 Jul 2023 11:45: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: <1690458327.04a33463261c264137b6e4466cb83c0695d3f6d6.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/zig/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/zig/zig-9999.ebuild X-VCS-Directories: dev-lang/zig/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 04a33463261c264137b6e4466cb83c0695d3f6d6 X-VCS-Branch: master Date: Thu, 27 Jul 2023 11:45: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: 999697b4-16ec-4290-9f63-ad09cbd7aad2 X-Archives-Hash: 33a2943bfa250d3b0f5f661768c13b6d commit: 04a33463261c264137b6e4466cb83c0695d3f6d6 Author: Eric Joldasov getgoogleoff me> AuthorDate: Wed Jul 26 08:52:40 2023 +0000 Commit: Sam James gentoo org> CommitDate: Thu Jul 27 11:45:27 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04a33463 dev-lang/zig: make doc generation for 9999 more reliable Use build system steps for automatically following latest changes in doc-generation. This means less frequent breakage, which is good. Signed-off-by: Eric Joldasov getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/32052 Signed-off-by: Sam James gentoo.org> dev-lang/zig/zig-9999.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-lang/zig/zig-9999.ebuild b/dev-lang/zig/zig-9999.ebuild index 41467b2d0539..1644ef100c5c 100644 --- a/dev-lang/zig/zig-9999.ebuild +++ b/dev-lang/zig/zig-9999.ebuild @@ -126,8 +126,8 @@ src_compile() { if use doc; then cd "${BUILD_DIR}" || die - edo ./stage3/bin/zig run ../doc/docgen.zig -- --zig ./stage3/bin/zig ../doc/langref.html.in "${S}/langref.html" - edo ./stage3/bin/zig test ../lib/std/std.zig --zig-lib-dir ../lib -fno-emit-bin -femit-docs="${S}/std" + edo ./stage3/bin/zig build std-docs --prefix "${S}/docgen/" + edo ./stage3/bin/zig build langref --prefix "${S}/docgen/" fi } @@ -148,7 +148,7 @@ src_test() { } src_install() { - use doc && local HTML_DOCS=( "langref.html" "std" ) + use doc && local HTML_DOCS=( "docgen/doc/langref.html" "docgen/doc/std" ) cmake_src_install cd "${ED}/usr/$(get_libdir)/zig/${PV}/" || die