mirror of https://github.com/MidnightCommander/mc
Fixed man2hlp warnings by renaming conflicting LANG variable to HLP_LANG.
Signed-off-by: Yury V. Zaytsev <yury@shurup.com> Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
parent
19b8c17013
commit
8430219c95
|
@ -1,9 +1,9 @@
|
|||
MANLANG=es
|
||||
HLP_LANG=es
|
||||
MAN2HLP=$(top_builddir)/src/man2hlp/man2hlp
|
||||
pkgdata_DATA = mc.hlp.$(MANLANG)
|
||||
pkgdata_DATA = mc.hlp.$(HLP_LANG)
|
||||
|
||||
EXTRA_DIST = xnc.hlp
|
||||
CLEANFILES = $(pkgdata_DATA)
|
||||
|
||||
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)
|
||||
mc.hlp.$(HLP_LANG): $(top_builddir)/doc/man/$(HLP_LANG)/mc.1 $(srcdir)/xnc.hlp $(MAN2HLP)
|
||||
- $(MAN2HLP) $(top_builddir)/doc/man/$(HLP_LANG)/mc.1 $(srcdir)/xnc.hlp mc.hlp.$(HLP_LANG)
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
MANLANG=hu
|
||||
HLP_LANG=hu
|
||||
MAN2HLP=$(top_builddir)/src/man2hlp/man2hlp
|
||||
pkgdata_DATA = mc.hlp.$(MANLANG)
|
||||
pkgdata_DATA = mc.hlp.$(HLP_LANG)
|
||||
|
||||
EXTRA_DIST = xnc.hlp
|
||||
CLEANFILES = $(pkgdata_DATA)
|
||||
|
||||
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)
|
||||
mc.hlp.$(HLP_LANG): $(top_builddir)/doc/man/$(HLP_LANG)/mc.1 $(srcdir)/xnc.hlp $(MAN2HLP)
|
||||
- $(MAN2HLP) $(top_builddir)/doc/man/$(HLP_LANG)/mc.1 $(srcdir)/xnc.hlp mc.hlp.$(HLP_LANG)
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
MANLANG=it
|
||||
HLP_LANG=it
|
||||
MAN2HLP=$(top_builddir)/src/man2hlp/man2hlp
|
||||
pkgdata_DATA = mc.hlp.$(MANLANG)
|
||||
pkgdata_DATA = mc.hlp.$(HLP_LANG)
|
||||
|
||||
EXTRA_DIST = xnc.hlp
|
||||
CLEANFILES = $(pkgdata_DATA)
|
||||
|
||||
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)
|
||||
mc.hlp.$(HLP_LANG): $(top_builddir)/doc/man/$(HLP_LANG)/mc.1 $(srcdir)/xnc.hlp $(MAN2HLP)
|
||||
- $(MAN2HLP) $(top_builddir)/doc/man/$(HLP_LANG)/mc.1 $(srcdir)/xnc.hlp mc.hlp.$(HLP_LANG)
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
MANLANG=pl
|
||||
HLP_LANG=pl
|
||||
MAN2HLP=$(top_builddir)/src/man2hlp/man2hlp
|
||||
pkgdata_DATA = mc.hlp.$(MANLANG)
|
||||
pkgdata_DATA = mc.hlp.$(HLP_LANG)
|
||||
|
||||
EXTRA_DIST = xnc.hlp
|
||||
CLEANFILES = $(pkgdata_DATA)
|
||||
|
||||
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)
|
||||
mc.hlp.$(HLP_LANG): $(top_builddir)/doc/man/$(HLP_LANG)/mc.1 $(srcdir)/xnc.hlp $(MAN2HLP)
|
||||
- $(MAN2HLP) $(top_builddir)/doc/man/$(HLP_LANG)/mc.1 $(srcdir)/xnc.hlp mc.hlp.$(HLP_LANG)
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
MANLANG=ru
|
||||
HLP_LANG=ru
|
||||
MAN2HLP=$(top_builddir)/src/man2hlp/man2hlp
|
||||
pkgdata_DATA = mc.hlp.$(MANLANG)
|
||||
pkgdata_DATA = mc.hlp.$(HLP_LANG)
|
||||
|
||||
EXTRA_DIST = xnc.hlp
|
||||
CLEANFILES = $(pkgdata_DATA)
|
||||
|
||||
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)
|
||||
mc.hlp.$(HLP_LANG): $(top_builddir)/doc/man/$(HLP_LANG)/mc.1 $(srcdir)/xnc.hlp $(MAN2HLP)
|
||||
- $(MAN2HLP) $(top_builddir)/doc/man/$(HLP_LANG)/mc.1 $(srcdir)/xnc.hlp mc.hlp.$(HLP_LANG)
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
MANLANG=sr
|
||||
HLP_LANG=sr
|
||||
MAN2HLP=$(top_builddir)/src/man2hlp/man2hlp
|
||||
pkgdata_DATA = mc.hlp.$(MANLANG)
|
||||
pkgdata_DATA = mc.hlp.$(HLP_LANG)
|
||||
|
||||
EXTRA_DIST = xnc.hlp
|
||||
CLEANFILES = $(pkgdata_DATA)
|
||||
|
||||
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)
|
||||
mc.hlp.$(HLP_LANG): $(top_builddir)/doc/man/$(HLP_LANG)/mc.1 $(srcdir)/xnc.hlp $(MAN2HLP)
|
||||
- $(MAN2HLP) $(top_builddir)/doc/man/$(HLP_LANG)/mc.1 $(srcdir)/xnc.hlp mc.hlp.$(HLP_LANG)
|
||||
|
|
|
@ -2,23 +2,23 @@
|
|||
mc.1: $(top_builddir)/config.status $(srcdir)/mc.1.in
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
||||
@MTM=$$(LANG=C stat -c '%y' $(srcdir)/mc.1.in); \
|
||||
MAN_DATE=$$(LANG=$(DATE_LANG) date -d "$${MTM}" +'$(DATE_FORMAT)'); \
|
||||
MAN_DATE=$$(LC_TIME=$(DATE_LANG) date -d "$${MTM}" +'$(DATE_FORMAT)'); \
|
||||
sed -i "s/@DATE_OF_MAN_PAGE@/$${MAN_DATE}/" $@
|
||||
|
||||
mcedit.1: $(top_builddir)/config.status $(srcdir)/mcedit.1.in
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
||||
@MTM=$$(LANG=C stat -c '%y' $(srcdir)/mcedit.1.in); \
|
||||
MAN_DATE=$$(LANG=$(DATE_LANG) date -d "$${MTM}" +'$(DATE_FORMAT)'); \
|
||||
MAN_DATE=$$(LC_TIME=$(DATE_LANG) date -d "$${MTM}" +'$(DATE_FORMAT)'); \
|
||||
sed -i "s/@DATE_OF_MAN_PAGE@/$${MAN_DATE}/" $@
|
||||
|
||||
mcview.1: $(top_builddir)/config.status $(srcdir)/mcview.1.in
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
||||
@MTM=$$(LANG=C stat -c '%y' $(srcdir)/mcview.1.in); \
|
||||
MAN_DATE=$$(LANG=$(DATE_LANG) date -d "$${MTM}" +'$(DATE_FORMAT)'); \
|
||||
MAN_DATE=$$(LC_TIME=$(DATE_LANG) date -d "$${MTM}" +'$(DATE_FORMAT)'); \
|
||||
sed -i "s/@DATE_OF_MAN_PAGE@/$${MAN_DATE}/" $@
|
||||
|
||||
mcserv.8: $(top_builddir)/config.status $(srcdir)/mcserv.8.in
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
||||
@MTM=$$(LANG=C stat -c '%y' $(srcdir)/mcserv.1.in); \
|
||||
MAN_DATE=$$(LANG=$(DATE_LANG) date -d "$${MTM}" +'$(DATE_FORMAT)'); \
|
||||
MAN_DATE=$$(LC_TIME=$(DATE_LANG) date -d "$${MTM}" +'$(DATE_FORMAT)'); \
|
||||
sed -i "s/@DATE_OF_MAN_PAGE@/$${MAN_DATE}/" $@
|
||||
|
|
Loading…
Reference in New Issue