* Makefile.am (mc.hlp.ru): New rule to compile translated

help file.
(mclib_DATA): Add mc.hlp.ru.
This commit is contained in:
Andrew V. Samoilov 2002-03-01 15:05:20 +00:00
parent 3a11aa6347
commit 51e1d26419
2 changed files with 10 additions and 2 deletions

View File

@ -1,5 +1,9 @@
2002-03-01 Andrew V. Samoilov <kai@cmail.ru>
* Makefile.am (mc.hlp.ru): New rule to compile translated
help file.
(mclib_DATA): Add mc.hlp.ru.
* gindex.pl: Add optional 4th argument for translated
Content section name.

View File

@ -14,7 +14,7 @@ endif
noinst_PROGRAMS = man2hlp
mclib_DATA = mc.hlp
mclib_DATA = mc.hlp mc.hlp.ru
mcmfmt_SOURCES = mfmt.c
@ -65,7 +65,7 @@ mc_SOURCES = $(SRCS)
endif
EXTRA_DIST = TODO ChangeLog OChangeLog man2hlp.c \
gindex.pl ncurses.patch mc.hlp $(CHARSET_SRC)
gindex.pl ncurses.patch mc.hlp mc.hlp.ru $(CHARSET_SRC)
$(srcdir)/mc.hlp: $(top_srcdir)/doc/mc.1.in $(top_srcdir)/lib/xnc.hlp $(srcdir)/gindex.pl man2hlp.c
- $(MAKE) man2hlp
@ -73,6 +73,10 @@ $(srcdir)/mc.hlp: $(top_srcdir)/doc/mc.1.in $(top_srcdir)/lib/xnc.hlp $(srcdir)/
$(top_srcdir)/lib/xnc.hlp $(srcdir)/mc.hlp
- touch $(srcdir)/mc.hlp
$(srcdir)/mc.hlp.ru: $(top_srcdir)/doc/ru/mc.1.in $(top_srcdir)/doc/ru/xnc.hlp $(srcdir)/gindex.pl man2hlp
perl $(srcdir)/gindex.pl $(top_srcdir)/doc/ru/mc.1.in \
$(top_srcdir)/doc/ru/xnc.hlp $(srcdir)/mc.hlp.ru 'òÁÚÄÅÌÙ ÐÏÍÏÝÉ:'
install-exec-hook:
$(MAKE) install_mcview
if USE_EDIT