DIST_SUBDIRS = es hu it pl ru
SUBDIRS = $(DOC_LINGUAS)

if USE_MCFS
man_MANS = mc.1 mcedit.1 mcserv.8
else
man_MANS = mc.1 mcedit.1
endif

pkgdata_DATA = mc.hlp

EXTRA_DIST = DEVEL xnc.hlp
CLEANFILES = $(pkgdata_DATA)

mc.hlp: mc.1 $(srcdir)/xnc.hlp $(top_builddir)/src/man2hlp
	- $(top_builddir)/src/man2hlp mc.1 $(srcdir)/xnc.hlp mc.hlp
