versions if nano is built without nanorc support. Changes to
configure.ac, doc/man/Makefile.am, and doc/man/fr/Makefile.am.
(DLR)
+ - Simplify the commands that generate HTML documentation in
+ order to remove unnecessary usage of cat. Changes to
+ doc/man/Makefile.am, doc/man/fr/Makefile.am, and
+ doc/texinfo/Makefile.am. (DLR)
- search.c:
regexp_init()
- Don't assign rc's value via regcomp() until we've asserted
nano_built_sources = nano.1.html nanorc.5.html rnano.1.html
nano.1.html: nano.1
- cat $< | groff -t -mandoc -Thtml > $@
+ groff -t -mandoc -Thtml < $< > $@
nanorc.5.html: nanorc.5
- cat $< | groff -t -mandoc -Thtml > $@
+ groff -t -mandoc -Thtml < $< > $@
rnano.1.html: rnano.1
- cat $< | groff -t -mandoc -Thtml > $@
+ groff -t -mandoc -Thtml < $< > $@
EXTRA_DIST = $(nano_man_mans) $(nano_built_sources)
nano_built_sources = nano.1.html nanorc.5.html rnano.1.html
nano.1.html: nano.1
- cat $< | groff -t -mandoc -Thtml > $@
+ groff -t -mandoc -Thtml < $< > $@
nanorc.5.html: nanorc.5
- cat $< | groff -t -mandoc -Thtml > $@
+ groff -t -mandoc -Thtml < $< > $@
rnano.1.html: rnano.1
- cat $< | groff -t -mandoc -Thtml > $@
+ groff -t -mandoc -Thtml < $< > $@
EXTRA_DIST = $(nano_man_mans) $(nano_built_sources)
BUILT_SOURCES = nano.html
nano.html: nano.texi
- cat $< | makeinfo --no-split --html > $@
+ makeinfo --no-split --html < $< > $@
EXTRA_DIST = $(info_TEXINFOS) $(BUILT_SOURCES)