don't generate the HTML versions of the nanorc manpages if nano is built

without nanorc support


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4021 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2007-01-06 23:21:24 +00:00
parent 9009890726
commit 5d7a1017ef
3 changed files with 14 additions and 11 deletions

View File

@ -1,9 +1,10 @@
CVS code - CVS code -
- General: - General:
- Miscellaneous comment fixes. (DLR) - Miscellaneous comment fixes. (DLR)
- Don't install the nanorc manpages if nano is built without - Don't install the nanorc manpages or generate their HTML
nanorc support. Changes to configure.ac, doc/man/Makefile.am, versions if nano is built without nanorc support. Changes to
and doc/man/fr/Makefile.am. (DLR) configure.ac, doc/man/Makefile.am, and doc/man/fr/Makefile.am.
(DLR)
- winio.c: - winio.c:
do_credits() do_credits()
- Update the last copyright notice to include 2006. (DLR) - Update the last copyright notice to include 2006. (DLR)

View File

@ -6,13 +6,14 @@ endif
if USE_NANORC if USE_NANORC
man_MANS = nano.1 nanorc.5 rnano.1 man_MANS = nano.1 nanorc.5 rnano.1
BUILT_SOURCES = nano.1.html nanorc.5.html rnano.1.html
else else
man_MANS = nano.1 rnano.1 man_MANS = nano.1 rnano.1
BUILT_SOURCES = nano.1.html rnano.1.html
endif endif
nano_mans = nano.1 nanorc.5 rnano.1 nano_man_mans = nano.1 nanorc.5 rnano.1
nano_built_sources = nano.1.html nanorc.5.html rnano.1.html
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 > $@ cat $< | groff -t -mandoc -Thtml > $@
@ -21,4 +22,4 @@ nanorc.5.html: nanorc.5
rnano.1.html: rnano.1 rnano.1.html: rnano.1
cat $< | groff -t -mandoc -Thtml > $@ cat $< | groff -t -mandoc -Thtml > $@
EXTRA_DIST = $(nano_mans) $(BUILT_SOURCES) EXTRA_DIST = $(nano_man_mans) $(nano_built_sources)

View File

@ -2,13 +2,14 @@ mandir = @mandir@/fr
if USE_NANORC if USE_NANORC
man_MANS = nano.1 nanorc.5 rnano.1 man_MANS = nano.1 nanorc.5 rnano.1
BUILT_SOURCES = nano.1.html nanorc.5.html rnano.1.html
else else
man_MANS = nano.1 rnano.1 man_MANS = nano.1 rnano.1
BUILT_SOURCES = nano.1.html rnano.1.html
endif endif
nano_mans = nano.1 nanorc.5 rnano.1 nano_man_mans = nano.1 nanorc.5 rnano.1
nano_built_sources = nano.1.html nanorc.5.html rnano.1.html
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 > $@ cat $< | groff -t -mandoc -Thtml > $@
@ -17,4 +18,4 @@ nanorc.5.html: nanorc.5
rnano.1.html: rnano.1 rnano.1.html: rnano.1
cat $< | groff -t -mandoc -Thtml > $@ cat $< | groff -t -mandoc -Thtml > $@
EXTRA_DIST = $(nano_mans) $(BUILT_SOURCES) EXTRA_DIST = $(nano_man_mans) $(nano_built_sources)