mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-22 12:51:23 +03:00
54e6fe2b4a
If the system on which nano is configured does not have the 'makeinfo' program installed, the prebuilt and packaged nano.info and nano.html should nevertheless be installed. Also, the TEXINFOS primary has built-in rules for generating HTML files from the texinfo sources, so an explicit rule is not needed. This indirectly addresses https://savannah.gnu.org/bugs/?49969.
34 lines
620 B
Makefile
34 lines
620 B
Makefile
SUBDIRS =
|
|
BUILT_SOURCES =
|
|
|
|
dist_html_DATA = faq.html
|
|
|
|
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
|
|
|
|
BUILT_SOURCES += nano.html
|
|
dist_html_DATA += nano.html
|
|
|
|
AM_MAKEINFOHTMLFLAGS = --no-split
|
|
|
|
EXTRA_DIST = $(BUILT_SOURCES) $(info_TEXINFOS)
|