pkgsrc/doc/guide/files/Makefile
ryoon fa7800e5a8 Add a rule to create EPUB file
* Sync htdocs with 20190104
* Do not build EPUB file by default
2020-01-04 12:14:22 +00:00

64 lines
1.2 KiB
Makefile

# $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
DBX_XML_DTD?= ${XML_PREFIX}/docbook/4.5/docbookx.dtd
DBX_SGML_CATALOG?= ${SGML_PREFIX}/docbook/4.5/catalog
DOC= pkgsrc
SRCS= pkgsrc.xml
SRCS+= binary.xml
SRCS+= build.xml
SRCS+= buildlink.xml
SRCS+= bulk.xml
SRCS+= creating.xml
SRCS+= components.xml
SRCS+= configuring.xml
SRCS+= debug.xml
SRCS+= devfaq.xml
SRCS+= editing.xml
SRCS+= examples.xml
SRCS+= faq.xml
SRCS+= files.xml
SRCS+= fixes.xml
SRCS+= ftp-layout.xml
SRCS+= getting.xml
SRCS+= help-devel.xml
SRCS+= help-topics.xml
SRCS+= help-user.xml
SRCS+= infr.design.xml
SRCS+= introduction.xml
SRCS+= logs.xml
SRCS+= makefile.xml
SRCS+= options.xml
SRCS+= pkginstall.xml
SRCS+= platforms.xml
SRCS+= plist.xml
SRCS+= porting.xml
SRCS+= regression.xml
SRCS+= submit.xml
SRCS+= tools.xml
SRCS+= using.xml
# entities
SRCS+= chapters.ent
# Make deeper TOC:
XSL_DBX_WITH_TOC_SECTION_DEPTH?= 2
# Avoid extra normalization
NO_TIDY?= yes
all: # doing this as depends doesn't work
-${MAKE} html-split
-${MAKE} html
-${MAKE} ascii
-${MAKE} pdf
netbsd.pdf: pdf
netbsd.txt: ascii
netbsd.epub: epub
.include "${WEB_PREFIX}/share/mk/doc.docbook.mk"