mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-22 03:02:06 +03:00
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:
parent
eeb93d2d61
commit
06e3dbbae9
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user