commit 023db6aa774da240de437f3edb1a2d64d019eaa2
parent 41dd9122fe4bc025b5509e9800255b924580f425
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Tue, 15 Nov 2005 02:39:20 +0000
per Mike Frysinger's patch, don't install the localized versions of the
manpages if nano is built with --disable-nls
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3175 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
3 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -97,6 +97,9 @@ CVS code -
completion functions adapted from busybox. Also, invoke LGPL
clause 3 to convert all LGPLed functions to GPLed ones, so
that we don't have to include a copy of the LGPL. (DLR)
+ - Don't install the localized versions of the manpages if
+ nano is built with --disable-nls. Changes to Makefile.am and
+ doc/man/Makefile.am. (Mike Frysinger)
- chars.c:
mbwidth()
- If wcwidth() returns -1 for the character passed in, treat the
diff --git a/configure.ac b/configure.ac
@@ -39,6 +39,7 @@ dnl Internationalization macros.
AM_GNU_GETTEXT_VERSION(0.11.5)
AM_GNU_GETTEXT([external], [need-ngettext])
+AM_CONDITIONAL(USE_NLS, test "x$USE_NLS" = "xyes")
dnl Checks for header files.
diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am
@@ -1,4 +1,8 @@
+if USE_NLS
SUBDIRS = fr
+else
+SUBDIRS =
+endif
man_MANS = nano.1 nanorc.5