summaryrefslogtreecommitdiff
path: root/doc/guide/files/Makefile
blob: 2ccf735abc4b1620a9db4b15b033a31f3b0e47f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# $NetBSD: Makefile,v 1.17 2016/06/11 18:14:42 rillig 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+=	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

.include "${WEB_PREFIX}/share/mk/doc.docbook.mk"