From 8310cd3de6fe9a7e8044f29031a259d71712dcd0 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Thu, 11 Jan 2007 19:32:32 +0000 Subject: [PATCH] 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-d3aeb78583b8 --- ChangeLog | 4 ++++ doc/man/Makefile.am | 6 +++--- doc/man/fr/Makefile.am | 6 +++--- doc/texinfo/Makefile.am | 2 +- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index e53c807d..ccaf3d2f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,10 @@ CVS code - 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 diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am index dbae113a..4c6e8776 100644 --- a/doc/man/Makefile.am +++ b/doc/man/Makefile.am @@ -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.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) diff --git a/doc/man/fr/Makefile.am b/doc/man/fr/Makefile.am index 0b9165ce..d898b102 100644 --- a/doc/man/fr/Makefile.am +++ b/doc/man/fr/Makefile.am @@ -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.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) diff --git a/doc/texinfo/Makefile.am b/doc/texinfo/Makefile.am index 895967e3..91f01636 100644 --- a/doc/texinfo/Makefile.am +++ b/doc/texinfo/Makefile.am @@ -5,6 +5,6 @@ MAKEINFO = makeinfo --no-split BUILT_SOURCES = nano.html nano.html: nano.texi - cat $< | makeinfo --no-split --html > $@ + makeinfo --no-split --html < $< > $@ EXTRA_DIST = $(info_TEXINFOS) $(BUILT_SOURCES) -- 2.39.5