mc/doc/hlp/Makefile.am
Andrew Borodin 80c2334e14 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>
2011-03-29 21:26:03 +04:00

14 lines
354 B
Makefile

DIST_SUBDIRS = es hu it pl ru sr
if USE_NLS
SUBDIRS = $(DOC_LINGUAS)
endif
hlpdir = $(pkgdatadir)/help
hlp_DATA = mc.hlp
EXTRA_DIST = xnc.hlp
CLEANFILES = $(hlp_DATA)
mc.hlp: $(top_builddir)/doc/man/mc.1 $(srcdir)/xnc.hlp $(top_builddir)/src/man2hlp/man2hlp
- $(top_builddir)/src/man2hlp/man2hlp $(top_builddir)/doc/man/mc.1 $(srcdir)/xnc.hlp mc.hlp