public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-doc/devmanual/
Date: Mon, 10 Feb 2020 18:01:53 +0000 (UTC)	[thread overview]
Message-ID: <1581357622.504c4020b8aa80a8a391f493e6b38a23a9846c1c.ulm@gentoo> (raw)

commit:     504c4020b8aa80a8a391f493e6b38a23a9846c1c
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 10 17:58:30 2020 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Feb 10 18:00:22 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=504c4020

app-doc/devmanual: Update live ebuild, new snapshot.

Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 app-doc/devmanual/Manifest                         |  2 +-
 ...00203.ebuild => devmanual-0_pre20200207.ebuild} | 29 ++++++++--------------
 app-doc/devmanual/devmanual-9999.ebuild            | 29 ++++++++--------------
 3 files changed, 21 insertions(+), 39 deletions(-)

diff --git a/app-doc/devmanual/Manifest b/app-doc/devmanual/Manifest
index e42a05bf9fc..192ea59eecd 100644
--- a/app-doc/devmanual/Manifest
+++ b/app-doc/devmanual/Manifest
@@ -1,2 +1,2 @@
 DIST devmanual-0_pre20141116.tar.gz 169936 BLAKE2B 9b01004750b9fce226fa6a965292d3ffaff0923f877da611743e39ee19077ea7fe0d21ff138853d3f79e4d4941026c30fcabf63c8903572ed7ba5d50d32c8dd5 SHA512 6af3f9a262bdb2ceb61ab195691dff4a850b22e8d1226e20ae3257c566b6cc913f756c8b90a40e8aa78b1242e78d24c4209a1d9cdb0706ae9b64c653544a028f
-DIST devmanual-0_pre20200203.tar.xz 163740 BLAKE2B 39d8173bc524213e7a6e81def4f1631ea0d2503540551982d07ef58f414b8a052e8a3a0d2426b5864e06fb24f1745af4dea57e418fcc5e52c558dc1da9ff4530 SHA512 f3fce9ba557515b89c5a875dc1e4e968eb3097776842026403e41ebe972c2e4e764303c729c5835466faaa2675fa361fe7e0512d7a8222d7d8b1202a9049f98e
+DIST devmanual-0_pre20200207.tar.xz 163940 BLAKE2B c6cf856a8f6c80b500466e27cc4106c070cff2dcf8c89d58c9ca90d03cb34a1e6a2048cb99364993f224f3497309fc24207dc44f9c14ece37c49aa602480dac0 SHA512 f6a88312e2030bf4d9fcf64bf1f38397087cb151aa41cd0c254cfc6251e4d5b291e3b361094a7c1d5fdb16e40c1702c0f0b7460ba230bfb217ad733f400c9089

diff --git a/app-doc/devmanual/devmanual-0_pre20200203.ebuild b/app-doc/devmanual/devmanual-0_pre20200207.ebuild
similarity index 66%
rename from app-doc/devmanual/devmanual-0_pre20200203.ebuild
rename to app-doc/devmanual/devmanual-0_pre20200207.ebuild
index 9762d86e473..5146b9288cc 100644
--- a/app-doc/devmanual/devmanual-0_pre20200203.ebuild
+++ b/app-doc/devmanual/devmanual-0_pre20200207.ebuild
@@ -29,35 +29,26 @@ BDEPEND="dev-libs/libxml2
 PATCHES=( "${FILESDIR}"/${PN}-eclasses.patch )
 
 src_compile() {
-	emake build OFFLINE=$(usex offline 1 0)
-	use offline || emake documents.js
+	emake OFFLINE=$(usex offline 1 0)
 }
 
 src_install() {
-	# clean out XML/XSL before installing
-	find . \( \
-		-iname '*.xml' -o \
-		-iname '*.dtd' -o \
-		-iname '*.xsl' -o \
-		-iname '*.svg' \) -delete || die
-	rm -r bin xsl .git* LICENSE Makefile README.md || die
-
-	local HTML_DOCS=( . )
-	einstalldocs
+	emake OFFLINE=$(usex offline 1 0) \
+		DESTDIR="${D}" \
+		htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
+		install
 
 	local DOC_CONTENTS="In order to browse the Gentoo Development Guide in
 		offline mode, point your browser to the following url:
 		file://${EPREFIX}/usr/share/doc/${PF}/html/index.html"
+	if ! has_version app-doc/eclass-manpages; then
+		DOC_CONTENTS+="\\n\\nThe offline version of the devmanual does not
+			include the documentation for the eclasses. If you need it,
+			then emerge app-doc/eclass-manpages."
+	fi
 	readme.gentoo_create_doc
 }
 
 pkg_postinst() {
 	readme.gentoo_print_elog
-	if ! has_version app-doc/eclass-manpages; then
-		elog "The offline version of the devmanual does not include the"
-		elog "documentation for the eclasses. If you need it, then emerge"
-		elog "the following package:"
-		elog
-		elog "app-doc/eclass-manpages"
-	fi
 }

diff --git a/app-doc/devmanual/devmanual-9999.ebuild b/app-doc/devmanual/devmanual-9999.ebuild
index 1957ff9c99e..7bea70d1e20 100644
--- a/app-doc/devmanual/devmanual-9999.ebuild
+++ b/app-doc/devmanual/devmanual-9999.ebuild
@@ -29,35 +29,26 @@ BDEPEND="dev-libs/libxml2
 PATCHES=( "${FILESDIR}"/${PN}-eclasses.patch )
 
 src_compile() {
-	emake build OFFLINE=$(usex offline 1 0)
-	use offline || emake documents.js
+	emake OFFLINE=$(usex offline 1 0)
 }
 
 src_install() {
-	# clean out XML/XSL before installing
-	find . \( \
-		-iname '*.xml' -o \
-		-iname '*.dtd' -o \
-		-iname '*.xsl' -o \
-		-iname '*.svg' \) -delete || die
-	rm -r bin xsl .git* LICENSE Makefile README.md || die
-
-	local HTML_DOCS=( . )
-	einstalldocs
+	emake OFFLINE=$(usex offline 1 0) \
+		DESTDIR="${D}" \
+		htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
+		install
 
 	local DOC_CONTENTS="In order to browse the Gentoo Development Guide in
 		offline mode, point your browser to the following url:
 		file://${EPREFIX}/usr/share/doc/${PF}/html/index.html"
+	if ! has_version app-doc/eclass-manpages; then
+		DOC_CONTENTS+="\\n\\nThe offline version of the devmanual does not
+			include the documentation for the eclasses. If you need it,
+			then emerge app-doc/eclass-manpages."
+	fi
 	readme.gentoo_create_doc
 }
 
 pkg_postinst() {
 	readme.gentoo_print_elog
-	if ! has_version app-doc/eclass-manpages; then
-		elog "The offline version of the devmanual does not include the"
-		elog "documentation for the eclasses. If you need it, then emerge"
-		elog "the following package:"
-		elog
-		elog "app-doc/eclass-manpages"
-	fi
 }


             reply	other threads:[~2020-02-10 18:01 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-10 18:01 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-12 18:59 [gentoo-commits] repo/gentoo:master commit in: app-doc/devmanual/ Ulrich Müller
2024-11-12 18:57 Ulrich Müller
2024-11-01 17:36 Ulrich Müller
2024-11-01 11:24 Ulrich Müller
2024-10-29 11:49 Ulrich Müller
2023-12-30  9:02 Ulrich Müller
2023-11-06 18:19 Ulrich Müller
2023-05-01  5:01 Ulrich Müller
2023-05-01  0:16 Sam James
2023-05-01  0:12 Sam James
2023-02-25 16:09 Ulrich Müller
2022-07-25  7:13 Agostino Sarubbo
2022-07-25  7:07 Agostino Sarubbo
2022-07-25  4:19 Sam James
2022-07-23  2:50 Sam James
2022-07-23  2:50 Sam James
2022-07-22 17:58 Ulrich Müller
2022-07-22 17:57 Ulrich Müller
2022-07-22 17:57 Ulrich Müller
2022-05-25 16:59 Ulrich Müller
2022-03-27  7:53 Ulrich Müller
2022-03-27  7:53 Ulrich Müller
2022-01-19  6:15 Ulrich Müller
2022-01-09 16:07 James Le Cuirot
2021-12-22 19:05 Michał Górny
2021-10-25 17:20 Arthur Zamarin
2021-10-10 11:02 Ulrich Müller
2021-01-18 12:40 Ulrich Müller
2021-01-18 12:15 Ulrich Müller
2021-01-18 12:13 Ulrich Müller
2021-01-18 12:13 Ulrich Müller
2021-01-18  0:29 Ulrich Müller
2021-01-17 22:16 Ulrich Müller
2020-02-16 12:47 Ulrich Müller
2020-02-14 18:25 Ulrich Müller
2020-02-14 18:25 Ulrich Müller
2020-02-06  9:02 Sergei Trofimovich
2020-02-06  8:34 Sergei Trofimovich
2020-02-06  8:23 Sergei Trofimovich
2020-02-03 20:46 Ulrich Müller
2020-02-03 11:09 Ulrich Müller
2019-06-10 11:37 Ulrich Müller
2018-07-19 18:01 Ulrich Müller
2018-07-19  9:17 Johannes Huber
2017-12-25 14:43 David Seifert
2017-08-22 21:27 Michał Górny

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=1581357622.504c4020b8aa80a8a391f493e6b38a23a9846c1c.ulm@gentoo \
    --to=ulm@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