aboutsummaryrefslogtreecommitdiffstats
path: root/doc/Makefile.am
blob: 6c549c9eea96597635923d968e5590ffa6db62c0 (plain) (blame)
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
61
62
63
64
65
66
67
AUTOMAKE_OPTIONS = foreign

if HAVE_ASCIIDOC
ASCIIDOC_ARGS = \
	-n \
	-a toc \
	-a icons
endif

if HAVE_A2X
A2X_ARGS = \
	-d manpage \
	-f manpage
endif

dist_doc_DATA = \
	manual.html \
	submitting-patches.html \
	add.txt \
	config.txt \
	copy_paste.txt \
	credits.txt \
	delete.txt \
	displacement.txt \
	edit.txt \
	enote.txt \
	export.txt \
	flag.txt \
	general.txt \
	goto.txt \
	import.txt \
	intro.txt \
	main.txt \
	manual.txt \
	other.txt \
	pipe.txt \
	priority.txt \
	repeat.txt \
	save.txt \
	tab.txt \
	view.txt \
	vnote.txt

dist_man_MANS = \
	calcurse.1

EXTRA_DIST = \
	manual.txt \
	submitting-patches.txt \
	calcurse.1.txt

CLEANFILES = \
	manual.html \
	submitting-patches.html \
	calcurse.1

docdir = $(datadir)/doc/$(PACKAGE)

.txt.html:
if HAVE_ASCIIDOC
	$(AM_V_GEN) $(ASCIIDOC) $(ASCIIDOC_ARGS) $<
endif

%.1: %.1.txt
if HAVE_A2X
	$(AM_V_GEN) $(A2X) $(A2X_ARGS) $<
endif