MAN2HLP=$(top_builddir)/src/man2hlp/man2hlp

hlpdir = $(pkgdatadir)/help
hlp_DATA = mc.hlp.$(HLP_LANG)

EXTRA_DIST = xnc.hlp
CLEANFILES = $(hlp_DATA)

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)
