Avoided shadowing global LANG variable with man language

Renamed internal variable LANG (the language of the man pages currently
being processed) to MANLANG in order to avoid screening global LANG
variable which defines current locale. As the result, got rid of Perl
man2hlp warnings about incorrect locale on build.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
Slava Zanko 2010-06-28 13:34:40 +03:00 committed by Andrew Borodin
parent eeb93d2d61
commit 06e3dbbae9
6 changed files with 24 additions and 24 deletions

View File

@ -1,9 +1,9 @@
LANG=es
MANLANG=es
MAN2HLP=$(top_builddir)/src/man2hlp/man2hlp
pkgdata_DATA = mc.hlp.$(LANG)
pkgdata_DATA = mc.hlp.$(MANLANG)
EXTRA_DIST = xnc.hlp
CLEANFILES = $(pkgdata_DATA)
mc.hlp.$(LANG): $(top_builddir)/doc/man/$(LANG)/mc.1 $(srcdir)/xnc.hlp $(MAN2HLP)
- $(MAN2HLP) $(top_builddir)/doc/man/$(LANG)/mc.1 $(srcdir)/xnc.hlp mc.hlp.$(LANG)
mc.hlp.$(MANLANG): $(top_builddir)/doc/man/$(MANLANG)/mc.1 $(srcdir)/xnc.hlp $(MAN2HLP)
- $(MAN2HLP) $(top_builddir)/doc/man/$(MANLANG)/mc.1 $(srcdir)/xnc.hlp mc.hlp.$(MANLANG)

View File

@ -1,9 +1,9 @@
LANG=hu
MANLANG=hu
MAN2HLP=$(top_builddir)/src/man2hlp/man2hlp
pkgdata_DATA = mc.hlp.$(LANG)
pkgdata_DATA = mc.hlp.$(MANLANG)
EXTRA_DIST = xnc.hlp
CLEANFILES = $(pkgdata_DATA)
mc.hlp.$(LANG): $(top_builddir)/doc/man/$(LANG)/mc.1 $(srcdir)/xnc.hlp $(MAN2HLP)
- $(MAN2HLP) $(top_builddir)/doc/man/$(LANG)/mc.1 $(srcdir)/xnc.hlp mc.hlp.$(LANG)
mc.hlp.$(MANLANG): $(top_builddir)/doc/man/$(MANLANG)/mc.1 $(srcdir)/xnc.hlp $(MAN2HLP)
- $(MAN2HLP) $(top_builddir)/doc/man/$(MANLANG)/mc.1 $(srcdir)/xnc.hlp mc.hlp.$(MANLANG)

View File

@ -1,9 +1,9 @@
LANG=it
MANLANG=it
MAN2HLP=$(top_builddir)/src/man2hlp/man2hlp
pkgdata_DATA = mc.hlp.$(LANG)
pkgdata_DATA = mc.hlp.$(MANLANG)
EXTRA_DIST = xnc.hlp
CLEANFILES = $(pkgdata_DATA)
mc.hlp.$(LANG): $(top_builddir)/doc/man/$(LANG)/mc.1 $(srcdir)/xnc.hlp $(MAN2HLP)
- $(MAN2HLP) $(top_builddir)/doc/man/$(LANG)/mc.1 $(srcdir)/xnc.hlp mc.hlp.$(LANG)
mc.hlp.$(MANLANG): $(top_builddir)/doc/man/$(MANLANG)/mc.1 $(srcdir)/xnc.hlp $(MAN2HLP)
- $(MAN2HLP) $(top_builddir)/doc/man/$(MANLANG)/mc.1 $(srcdir)/xnc.hlp mc.hlp.$(MANLANG)

View File

@ -1,9 +1,9 @@
LANG=pl
MANLANG=pl
MAN2HLP=$(top_builddir)/src/man2hlp/man2hlp
pkgdata_DATA = mc.hlp.$(LANG)
pkgdata_DATA = mc.hlp.$(MANLANG)
EXTRA_DIST = xnc.hlp
CLEANFILES = $(pkgdata_DATA)
mc.hlp.$(LANG): $(top_builddir)/doc/man/$(LANG)/mc.1 $(srcdir)/xnc.hlp $(MAN2HLP)
- $(MAN2HLP) $(top_builddir)/doc/man/$(LANG)/mc.1 $(srcdir)/xnc.hlp mc.hlp.$(LANG)
mc.hlp.$(MANLANG): $(top_builddir)/doc/man/$(MANLANG)/mc.1 $(srcdir)/xnc.hlp $(MAN2HLP)
- $(MAN2HLP) $(top_builddir)/doc/man/$(MANLANG)/mc.1 $(srcdir)/xnc.hlp mc.hlp.$(MANLANG)

View File

@ -1,9 +1,9 @@
LANG=ru
MANLANG=ru
MAN2HLP=$(top_builddir)/src/man2hlp/man2hlp
pkgdata_DATA = mc.hlp.$(LANG)
pkgdata_DATA = mc.hlp.$(MANLANG)
EXTRA_DIST = xnc.hlp
CLEANFILES = $(pkgdata_DATA)
mc.hlp.$(LANG): $(top_builddir)/doc/man/$(LANG)/mc.1 $(srcdir)/xnc.hlp $(MAN2HLP)
- $(MAN2HLP) $(top_builddir)/doc/man/$(LANG)/mc.1 $(srcdir)/xnc.hlp mc.hlp.$(LANG)
mc.hlp.$(MANLANG): $(top_builddir)/doc/man/$(MANLANG)/mc.1 $(srcdir)/xnc.hlp $(MAN2HLP)
- $(MAN2HLP) $(top_builddir)/doc/man/$(MANLANG)/mc.1 $(srcdir)/xnc.hlp mc.hlp.$(MANLANG)

View File

@ -1,9 +1,9 @@
LANG=sr
MANLANG=sr
MAN2HLP=$(top_builddir)/src/man2hlp/man2hlp
pkgdata_DATA = mc.hlp.$(LANG)
pkgdata_DATA = mc.hlp.$(MANLANG)
EXTRA_DIST = xnc.hlp
CLEANFILES = $(pkgdata_DATA)
mc.hlp.$(LANG): $(top_builddir)/doc/man/$(LANG)/mc.1 $(srcdir)/xnc.hlp $(MAN2HLP)
- $(MAN2HLP) $(top_builddir)/doc/man/$(LANG)/mc.1 $(srcdir)/xnc.hlp mc.hlp.$(LANG)
mc.hlp.$(MANLANG): $(top_builddir)/doc/man/$(MANLANG)/mc.1 $(srcdir)/xnc.hlp $(MAN2HLP)
- $(MAN2HLP) $(top_builddir)/doc/man/$(MANLANG)/mc.1 $(srcdir)/xnc.hlp mc.hlp.$(MANLANG)