simplify the commands that generate HTML documentation in order to
remove unnecessary usage of cat git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4027 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
f38b27e0a1
commit
8310cd3de6
doc
texinfo
|
@ -6,6 +6,10 @@ CVS code -
|
||||||
versions if nano is built without nanorc support. Changes to
|
versions if nano is built without nanorc support. Changes to
|
||||||
configure.ac, doc/man/Makefile.am, and doc/man/fr/Makefile.am.
|
configure.ac, doc/man/Makefile.am, and doc/man/fr/Makefile.am.
|
||||||
(DLR)
|
(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:
|
- search.c:
|
||||||
regexp_init()
|
regexp_init()
|
||||||
- Don't assign rc's value via regcomp() until we've asserted
|
- Don't assign rc's value via regcomp() until we've asserted
|
||||||
|
|
|
@ -16,10 +16,10 @@ nano_man_mans = nano.1 nanorc.5 rnano.1
|
||||||
nano_built_sources = nano.1.html nanorc.5.html rnano.1.html
|
nano_built_sources = nano.1.html nanorc.5.html rnano.1.html
|
||||||
|
|
||||||
nano.1.html: nano.1
|
nano.1.html: nano.1
|
||||||
cat $< | groff -t -mandoc -Thtml > $@
|
groff -t -mandoc -Thtml < $< > $@
|
||||||
nanorc.5.html: nanorc.5
|
nanorc.5.html: nanorc.5
|
||||||
cat $< | groff -t -mandoc -Thtml > $@
|
groff -t -mandoc -Thtml < $< > $@
|
||||||
rnano.1.html: rnano.1
|
rnano.1.html: rnano.1
|
||||||
cat $< | groff -t -mandoc -Thtml > $@
|
groff -t -mandoc -Thtml < $< > $@
|
||||||
|
|
||||||
EXTRA_DIST = $(nano_man_mans) $(nano_built_sources)
|
EXTRA_DIST = $(nano_man_mans) $(nano_built_sources)
|
||||||
|
|
|
@ -12,10 +12,10 @@ nano_man_mans = nano.1 nanorc.5 rnano.1
|
||||||
nano_built_sources = nano.1.html nanorc.5.html rnano.1.html
|
nano_built_sources = nano.1.html nanorc.5.html rnano.1.html
|
||||||
|
|
||||||
nano.1.html: nano.1
|
nano.1.html: nano.1
|
||||||
cat $< | groff -t -mandoc -Thtml > $@
|
groff -t -mandoc -Thtml < $< > $@
|
||||||
nanorc.5.html: nanorc.5
|
nanorc.5.html: nanorc.5
|
||||||
cat $< | groff -t -mandoc -Thtml > $@
|
groff -t -mandoc -Thtml < $< > $@
|
||||||
rnano.1.html: rnano.1
|
rnano.1.html: rnano.1
|
||||||
cat $< | groff -t -mandoc -Thtml > $@
|
groff -t -mandoc -Thtml < $< > $@
|
||||||
|
|
||||||
EXTRA_DIST = $(nano_man_mans) $(nano_built_sources)
|
EXTRA_DIST = $(nano_man_mans) $(nano_built_sources)
|
||||||
|
|
|
@ -5,6 +5,6 @@ MAKEINFO = makeinfo --no-split
|
||||||
BUILT_SOURCES = nano.html
|
BUILT_SOURCES = nano.html
|
||||||
|
|
||||||
nano.html: nano.texi
|
nano.html: nano.texi
|
||||||
cat $< | makeinfo --no-split --html > $@
|
makeinfo --no-split --html < $< > $@
|
||||||
|
|
||||||
EXTRA_DIST = $(info_TEXINFOS) $(BUILT_SOURCES)
|
EXTRA_DIST = $(info_TEXINFOS) $(BUILT_SOURCES)
|
||||||
|
|
Loading…
Reference in New Issue