Makefile.am 678 Bytes
Newer Older
1
2
SUBDIRS =
BUILT_SOURCES =
3

4
if USE_COLOR
5
SUBDIRS += syntax
6
7
endif

8
dist_html_DATA = faq.html
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

dist_man_MANS = nano.1 rnano.1
html_pages = nano.1.html rnano.1.html

if USE_NANORC
dist_man_MANS += nanorc.5
html_pages += nanorc.5.html
endif

nano.1.html: nano.1
	groff -t -mandoc -Thtml < $? > $@
nanorc.5.html: nanorc.5
	groff -t -mandoc -Thtml < $? > $@
rnano.1.html: rnano.1
	groff -t -mandoc -Thtml < $? > $@

if GROFF_HTML
BUILT_SOURCES += $(html_pages)
dist_html_DATA += $(html_pages)
endif

info_TEXINFOS = nano.texi

if HAVE_MAKEINFO
BUILT_SOURCES += nano.html
endif

nano.html: nano.texi
	makeinfo --no-split --html < $< > $@

EXTRA_DIST = $(BUILT_SOURCES) $(info_TEXINFOS)