From 56368fe9f2277f146846cbc89df6062d08e6f132 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Fri, 9 Aug 2002 21:55:20 +0000 Subject: [PATCH] * lib/xnc.hlp: Move ... * doc/xnc.hlp: ... here. * doc/Makefile.am: Necessary adjustments. * lib/Makefile.am: Likewise. * src/Makefile.am: Likewise. --- ChangeLog | 6 ++++++ doc/Makefile.am | 10 +++++++++- {lib => doc}/xnc.hlp | 0 lib/Makefile.am | 1 - src/Makefile.am | 11 +---------- 5 files changed, 16 insertions(+), 12 deletions(-) rename {lib => doc}/xnc.hlp (100%) diff --git a/ChangeLog b/ChangeLog index d58f0af95..367ed3ac9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2002-08-09 Pavel Roskin + * lib/xnc.hlp: Move ... + * doc/xnc.hlp: ... here. + * doc/Makefile.am: Necessary adjustments. + * lib/Makefile.am: Likewise. + * src/Makefile.am: Likewise. + * configure.in: Add Spanish documentation. * doc/Makefile.am: Likewise. * doc/es: Spanish documentation. diff --git a/doc/Makefile.am b/doc/Makefile.am index a8b141c8e..1596bafec 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -6,4 +6,12 @@ else man_MANS = mc.1 mcedit.1 endif -EXTRA_DIST = DEVEL +EXTRA_DIST = DEVEL xnc.hlp mc.hlp +MAINTAINERCLEANFILES = mc.hlp + +mclibdir = $(libdir)/mc +mclib_DATA = mc.hlp + +$(srcdir)/mc.hlp: mc.1 $(srcdir)/xnc.hlp $(top_builddir)/src/man2hlp + - $(top_builddir)/src/man2hlp 58 mc.1 $(srcdir)/xnc.hlp \ + $(srcdir)/mc.hlp diff --git a/lib/xnc.hlp b/doc/xnc.hlp similarity index 100% rename from lib/xnc.hlp rename to doc/xnc.hlp diff --git a/lib/Makefile.am b/lib/Makefile.am index c67d42b22..38b91be69 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -16,7 +16,6 @@ LIBFILES_CONST = mc.hint mc.hint.cs mc.hint.es mc.hint.hu mc.hint.it \ mc.menu cedit.menu edit.indent.rc edit.spell.rc noinst_DATA = \ - xnc.hlp \ mcserv.init \ mcserv.pamd \ mc.global diff --git a/src/Makefile.am b/src/Makefile.am index 5f79444fa..e9dfced85 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -14,9 +14,6 @@ endif noinst_PROGRAMS = man2hlp -mclib_DATA = mc.hlp -MAINTAINERCLEANFILES = mc.hlp - mcmfmt_SOURCES = mfmt.c cons_saver_SOURCES = cons.saver.c @@ -70,13 +67,7 @@ mc_SOURCES = $(SRCS) endif EXTRA_DIST = TODO ChangeLog OChangeLog man2hlp.c \ - ncurses.patch mc.hlp $(CHARSET_SRC) - -$(srcdir)/mc.hlp: $(top_builddir)/doc/mc.1 $(top_srcdir)/lib/xnc.hlp man2hlp.c - - $(MAKE) man2hlp - - ./man2hlp 58 $(top_builddir)/doc/mc.1 $(top_srcdir)/lib/xnc.hlp \ - $(srcdir)/mc.hlp - - touch $(srcdir)/mc.hlp + ncurses.patch $(CHARSET_SRC) install-exec-hook: $(MAKE) install_mcview