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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 01949138359 for ; Mon, 26 Oct 2020 15:42:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 28204E0894; Mon, 26 Oct 2020 15:42:07 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 02C0AE0885 for ; Mon, 26 Oct 2020 15:42:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B6C1233BF34 for ; Mon, 26 Oct 2020 15:42:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 317883B3 for ; Mon, 26 Oct 2020 15:42:04 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1601147200.7cb71c2f1ff1da24215f40d57732d59ae7b618a4.ulm@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: bin/ X-VCS-Repository: proj/devmanual X-VCS-Files: bin/gen-eclass-html.sh X-VCS-Directories: bin/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 7cb71c2f1ff1da24215f40d57732d59ae7b618a4 X-VCS-Branch: master Date: Mon, 26 Oct 2020 15:42:04 +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: 7a22e2ec-bbb0-42fc-8f97-d1417e675103 X-Archives-Hash: 264bec0a206be9d365985e827af5f6ae commit: 7cb71c2f1ff1da24215f40d57732d59ae7b618a4 Author: Ulrich Müller gentoo org> AuthorDate: Sat Sep 26 19:06:40 2020 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Sep 26 19:06:40 2020 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=7cb71c2f bin/gen-eclass-html.sh: Generate html for make.conf(5). Signed-off-by: Ulrich Müller gentoo.org> bin/gen-eclass-html.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/gen-eclass-html.sh b/bin/gen-eclass-html.sh index 23f481b..f7fcc73 100755 --- a/bin/gen-eclass-html.sh +++ b/bin/gen-eclass-html.sh @@ -124,8 +124,9 @@ shift $((OPTIND-1)) MANPAGES=() [[ -n ${NOMAN} ]] || MANPAGES=( $(/usr/bin/qlist -e eclass-manpages) - # We also need the ebuild man page + # We also need a couple of portage man pages /usr/share/man/man5/ebuild.5* + /usr/share/man/man5/make.conf.5* ) || exit 1 [[ -d ${OUTPUTDIR} ]] || mkdir -p "${OUTPUTDIR}" || exit 1 @@ -142,10 +143,10 @@ for i in "${MANPAGES[@]}"; do touch "${DIRNAME}" || exit 1 # rebuild the man page each time echo -n "${HEADER//@TITLE@/${BASENAME}}" > "${FINAL}" || exit 1 - # generate html pages and fix hyperlinks for eclass and ebuild man pages + # generate html pages and fix hyperlinks for eclass and other man pages ${DECOMPRESS} "${i}" | /usr/bin/man2html -r \ | sed -e '1,//d;/<\/BODY>/,$d' \ - -e '/\([^<>]*\):\1:g' \ -e 's:\([^<>]*\):\1:g' \ -e 's:\([^<>]*\):\1:g' \