mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 04:22:34 +03:00
Ticket #2514: fixup of build with --disable-nls option.
Don't install man pages, help and hint files if mc is built with --disable-nls key. Thanks Max Khon <fjoe samodelkin net> for the original patch. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
e4c064120b
commit
80c2334e14
@ -480,6 +480,7 @@ AC_SUBST(MCLIBS)
|
||||
MAN_DATE="$(LC_ALL=C date "+%B %Y")"
|
||||
AC_SUBST(MAN_DATE)
|
||||
|
||||
AM_CONDITIONAL(USE_NLS, [test x"$USE_NLS" = xyes])
|
||||
AM_CONDITIONAL(USE_MAINTAINER_MODE, [test x"$USE_MAINTAINER_MODE" = xyes])
|
||||
AM_CONDITIONAL(USE_SCREEN_SLANG, [test x"$with_screen" = xslang])
|
||||
AM_CONDITIONAL(USE_EDIT, [test -n "$use_edit"])
|
||||
|
@ -1,11 +1,14 @@
|
||||
HINTFILES = \
|
||||
mc.hint mc.hint.cs mc.hint.es mc.hint.hu mc.hint.it \
|
||||
mc.hint.nl mc.hint.pl mc.hint.ru mc.hint.sr mc.hint.uk \
|
||||
mc.hint.zh
|
||||
HINTFILE = mc.hint
|
||||
HINTFILES_LANG = \
|
||||
mc.hint.cs mc.hint.es mc.hint.hu mc.hint.it mc.hint.nl \
|
||||
mc.hint.pl mc.hint.ru mc.hint.sr mc.hint.uk mc.hint.zh
|
||||
|
||||
hintdir = $(pkgdatadir)/hints
|
||||
hint_DATA = $(HINTFILES)
|
||||
|
||||
hint_DATA = $(HINTFILE)
|
||||
if USE_NLS
|
||||
hint_DATA += $(HINTFILES_LANG)
|
||||
endif
|
||||
|
||||
# Files processed by configure don't need to be here
|
||||
EXTRA_DIST = \
|
||||
$(HINTFILES)
|
||||
EXTRA_DIST = $(HINTFILE) $(HINTFILES_LANG)
|
||||
|
@ -1,5 +1,7 @@
|
||||
DIST_SUBDIRS = es hu it pl ru sr
|
||||
if USE_NLS
|
||||
SUBDIRS = $(DOC_LINGUAS)
|
||||
endif
|
||||
|
||||
hlpdir = $(pkgdatadir)/help
|
||||
hlp_DATA = mc.hlp
|
||||
|
@ -1,5 +1,7 @@
|
||||
DIST_SUBDIRS = es hu it pl ru sr
|
||||
if USE_NLS
|
||||
SUBDIRS = $(DOC_LINGUAS)
|
||||
endif
|
||||
|
||||
man_MANS = mc.1 mcedit.1 mcview.1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user