pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/doc/guide Add a rule to create EPUB file



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a36c4be01a5f
branches:  trunk
changeset: 420548:a36c4be01a5f
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Sat Jan 04 12:14:22 2020 +0000

description:
Add a rule to create EPUB file

* Sync htdocs with 20190104
* Do not build EPUB file by default

diffstat:

 doc/guide/Makefile        |  10 +++++++---
 doc/guide/Makefile.common |   6 +++++-
 doc/guide/PLIST           |   3 ++-
 doc/guide/distinfo        |  10 +++++-----
 doc/guide/files/Makefile  |   3 ++-
 5 files changed, 21 insertions(+), 11 deletions(-)

diffs (103 lines):

diff -r 78f3981d6d7b -r a36c4be01a5f doc/guide/Makefile
--- a/doc/guide/Makefile        Sat Jan 04 12:13:43 2020 +0000
+++ b/doc/guide/Makefile        Sat Jan 04 12:14:22 2020 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.57 2019/10/05 08:50:35 leot Exp $
+# $NetBSD: Makefile,v 1.58 2020/01/04 12:14:22 ryoon Exp $
 
 DISTNAME=              pkgsrc-guide-${PKGVERSION}
 CATEGORIES=            # empty
 MASTER_SITES=          ${MASTER_SITE_LOCAL}
-DISTFILES=             htdocs-share-20191005.tar.gz
+DISTFILES=             htdocs-share-20200104.tar.gz
 
 MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=              http://www.NetBSD.org/docs/pkgsrc/
@@ -17,7 +17,7 @@
 USE_LANGUAGES=         # empty
 MAKE_ENV+=             SED=${SED:Q}
 
-PLIST_VARS=            ascii html pdf
+PLIST_VARS=            ascii html pdf epub
 
 DOCDIR=                        ${PREFIX}/share/doc/pkgsrc
 .if exists(/usr/cvs/htdocs)
@@ -51,6 +51,10 @@
 PLIST.pdf=             yes
 .endif
 
+.  if !empty(OUTPUTS:Mepub)
+PLIST.epub=            yes
+.endif
+
 # only override the Makefile.common default if it is explicitly set
 _GUIDE_OUTPUTS=                ${OUTPUTS}
 .endif
diff -r 78f3981d6d7b -r a36c4be01a5f doc/guide/Makefile.common
--- a/doc/guide/Makefile.common Sat Jan 04 12:13:43 2020 +0000
+++ b/doc/guide/Makefile.common Sat Jan 04 12:14:22 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.8 2017/02/20 09:35:16 wiz Exp $
+# $NetBSD: Makefile.common,v 1.9 2020/01/04 12:14:22 ryoon Exp $
 #
 # This is included by doc/guide and meta-pkgs/pkgsrc-guide-tools.
 #
@@ -28,6 +28,10 @@
 _GUIDE_DEPENDS+=       w3m>=0.4:../../www/w3m
 .endif
 
+.if !empty(_GUIDE_OUTPUTS:Mepub)
+.include "../../lang/ruby/rubyversion.mk"
+.endif
+
 .if !empty(_GUIDE_OUTPUTS:Mps) || !empty(_GUIDE_OUTPUTS:Mpdf)
 _GUIDE_DEPENDS+=       openjade>=1.3.2:../../textproc/openjade
 _GUIDE_DEPENDS+=       dvipsk-[0-9]*:../../print/dvipsk
diff -r 78f3981d6d7b -r a36c4be01a5f doc/guide/PLIST
--- a/doc/guide/PLIST   Sat Jan 04 12:13:43 2020 +0000
+++ b/doc/guide/PLIST   Sat Jan 04 12:14:22 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2019/05/03 10:53:31 sevan Exp $
+@comment $NetBSD: PLIST,v 1.4 2020/01/04 12:14:22 ryoon Exp $
 ${PLIST.html}share/doc/pkgsrc/binary.html
 ${PLIST.html}share/doc/pkgsrc/build.html
 ${PLIST.html}share/doc/pkgsrc/buildlink.html
@@ -30,6 +30,7 @@
 ${PLIST.html}share/doc/pkgsrc/options.html
 ${PLIST.html}share/doc/pkgsrc/pkginstall.html
 ${PLIST.html}share/doc/pkgsrc/pkgsrc.html
+${PLIST.epub}share/doc/pkgsrc/pkgsrc.epub
 ${PLIST.pdf}share/doc/pkgsrc/pkgsrc.pdf
 ${PLIST.pdf}share/doc/pkgsrc/pkgsrc.ps
 ${PLIST.ascii}share/doc/pkgsrc/pkgsrc.txt
diff -r 78f3981d6d7b -r a36c4be01a5f doc/guide/distinfo
--- a/doc/guide/distinfo        Sat Jan 04 12:13:43 2020 +0000
+++ b/doc/guide/distinfo        Sat Jan 04 12:14:22 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.23 2019/10/05 08:50:35 leot Exp $
+$NetBSD: distinfo,v 1.24 2020/01/04 12:14:22 ryoon Exp $
 
-SHA1 (pkgsrc-guide/htdocs-share-20191005.tar.gz) = def824d26e3def801efd9dd424390a2fbd4a07f3
-RMD160 (pkgsrc-guide/htdocs-share-20191005.tar.gz) = ea59c68285add8634a6b0e4160e050d45c2a80ab
-SHA512 (pkgsrc-guide/htdocs-share-20191005.tar.gz) = 9783f5b59712324158950dcb08798a418387c60ae73d0026348ca7e3504e030a7f4f61cfd1b421cd3bc4cf1c9d18322827245f7e5b9800036597ce4bd6c1ebd5
-Size (pkgsrc-guide/htdocs-share-20191005.tar.gz) = 106986 bytes
+SHA1 (pkgsrc-guide/htdocs-share-20200104.tar.gz) = 82996047b0692de40295ae9f3cc940bbab36bf97
+RMD160 (pkgsrc-guide/htdocs-share-20200104.tar.gz) = c3e0d6239c997b6aa6d79609a409179dec0ef792
+SHA512 (pkgsrc-guide/htdocs-share-20200104.tar.gz) = 53f97e2cf1a62aa2af7394c80d6b7d7ed9403df600ed62a3817929fa74abb1089bf7cd6507674ffaeca346afaf64045f3d679e070f1be4e34416928b366876b4
+Size (pkgsrc-guide/htdocs-share-20200104.tar.gz) = 106922 bytes
diff -r 78f3981d6d7b -r a36c4be01a5f doc/guide/files/Makefile
--- a/doc/guide/files/Makefile  Sat Jan 04 12:13:43 2020 +0000
+++ b/doc/guide/files/Makefile  Sat Jan 04 12:14:22 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2019/04/28 15:22:24 rillig Exp $
+# $NetBSD: Makefile,v 1.20 2020/01/04 12:14:22 ryoon Exp $
 
 WEB_PREFIX?=           ${.CURDIR}/../htdocs
 DBX_XML_CATALOG?=      ${SGML_PREFIX}/docbook/4.5/catalog.xml
@@ -59,5 +59,6 @@
 
 netbsd.pdf: pdf
 netbsd.txt: ascii
+netbsd.epub: epub
 
 .include "${WEB_PREFIX}/share/mk/doc.docbook.mk"



Home | Main Index | Thread Index | Old Index