summaryrefslogtreecommitdiff
path: root/doc/guide
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2020-01-04 12:14:22 +0000
committerryoon <ryoon@pkgsrc.org>2020-01-04 12:14:22 +0000
commitf03d8745900e63a846653f18c283d570c21bfa62 (patch)
treecca96e0fe179d3019b343723bc610e2966bacb5e /doc/guide
parentf35f5fa49e3cffd8222af30daefa368801b10d1e (diff)
downloadpkgsrc-f03d8745900e63a846653f18c283d570c21bfa62.tar.gz
Add a rule to create EPUB file
* Sync htdocs with 20190104 * Do not build EPUB file by default
Diffstat (limited to 'doc/guide')
-rw-r--r--doc/guide/Makefile10
-rw-r--r--doc/guide/Makefile.common6
-rw-r--r--doc/guide/PLIST3
-rw-r--r--doc/guide/distinfo10
-rw-r--r--doc/guide/files/Makefile3
5 files changed, 21 insertions, 11 deletions
diff --git a/doc/guide/Makefile b/doc/guide/Makefile
index b5e6977da7c..6b2f5fb68f0 100644
--- a/doc/guide/Makefile
+++ b/doc/guide/Makefile
@@ -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
HOMEPAGE= http://www.NetBSD.org/docs/pkgsrc/
@@ -17,7 +17,7 @@ DIST_SUBDIR= ${PKGBASE}
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.html= yes
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 --git a/doc/guide/Makefile.common b/doc/guide/Makefile.common
index 9bd7e7d6da0..5a34e346ddc 100644
--- a/doc/guide/Makefile.common
+++ b/doc/guide/Makefile.common
@@ -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+= tidy-[0-9]*:../../www/tidy
_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 --git a/doc/guide/PLIST b/doc/guide/PLIST
index a749f1c2087..c3cf6fec4fa 100644
--- a/doc/guide/PLIST
+++ b/doc/guide/PLIST
@@ -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/makefile.html
${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 --git a/doc/guide/distinfo b/doc/guide/distinfo
index 63964c498ed..672861ff499 100644
--- a/doc/guide/distinfo
+++ b/doc/guide/distinfo
@@ -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 --git a/doc/guide/files/Makefile b/doc/guide/files/Makefile
index b989fe42505..4c33acfbfd8 100644
--- a/doc/guide/files/Makefile
+++ b/doc/guide/files/Makefile
@@ -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 @@ all: # doing this as depends doesn't work
netbsd.pdf: pdf
netbsd.txt: ascii
+netbsd.epub: epub
.include "${WEB_PREFIX}/share/mk/doc.docbook.mk"