CVS code -
- General:
- Miscellaneous comment fixes. (DLR)
+ - Don't install the nanorc manpages if nano is built without
+ nanorc support. Changes to configure.ac, doc/man/Makefile.am,
+ and doc/man/fr/Makefile.am. (DLR)
- winio.c:
do_credits()
- Update the last copyright notice to include 2006. (DLR)
esac], [AC_MSG_RESULT(no)])
AM_CONDITIONAL(USE_COLOR, test x$color_support = xyes)
+AM_CONDITIONAL(USE_NANORC, test x$nanorc_support = xyes)
dnl Checks for functions.
SUBDIRS =
endif
+if USE_NANORC
man_MANS = nano.1 nanorc.5 rnano.1
+else
+man_MANS = nano.1 rnano.1
+endif
+
+nano_mans = nano.1 nanorc.5 rnano.1
BUILT_SOURCES = nano.1.html nanorc.5.html rnano.1.html
rnano.1.html: rnano.1
cat $< | groff -t -mandoc -Thtml > $@
-EXTRA_DIST = $(man_MANS) $(BUILT_SOURCES)
+EXTRA_DIST = $(nano_mans) $(BUILT_SOURCES)
mandir = @mandir@/fr
+if USE_NANORC
man_MANS = nano.1 nanorc.5 rnano.1
+else
+man_MANS = nano.1 rnano.1
+endif
+
+nano_mans = nano.1 nanorc.5 rnano.1
BUILT_SOURCES = nano.1.html nanorc.5.html rnano.1.html
rnano.1.html: rnano.1
cat $< | groff -t -mandoc -Thtml > $@
-EXTRA_DIST = $(man_MANS) $(BUILT_SOURCES)
+EXTRA_DIST = $(nano_mans) $(BUILT_SOURCES)