2009-05-08 17:56:02 +04:00
|
|
|
## Process this file with automake to create Makefile.in.
|
|
|
|
|
2012-03-07 04:20:30 +04:00
|
|
|
SUBDIRS = ext.d macros.d skins syntax
|
2009-09-04 18:22:49 +04:00
|
|
|
|
2009-05-08 17:56:02 +04:00
|
|
|
LIBFILES_OUT = mc.ext
|
|
|
|
|
|
|
|
noinst_DATA = xterm.ad
|
|
|
|
|
2010-09-16 09:50:22 +04:00
|
|
|
pkgdata_DATA = \
|
|
|
|
mc.lib
|
2010-09-16 10:45:11 +04:00
|
|
|
if CHARSET
|
|
|
|
pkgdata_DATA += mc.charsets
|
|
|
|
endif
|
2009-05-21 02:01:10 +04:00
|
|
|
|
2014-09-04 13:32:09 +04:00
|
|
|
SCRIPTS_IN = \
|
|
|
|
mc.menu.in \
|
|
|
|
mcedit.menu.in
|
|
|
|
|
|
|
|
SCRIPTS_OUT = \
|
|
|
|
mc.menu \
|
|
|
|
mcedit.menu
|
|
|
|
|
2009-05-21 02:01:10 +04:00
|
|
|
LIBFILES_CONST = \
|
2009-09-02 03:07:50 +04:00
|
|
|
filehighlight.ini \
|
2013-03-04 16:51:44 +04:00
|
|
|
mc.default.keymap \
|
2014-09-04 13:32:09 +04:00
|
|
|
mc.emacs.keymap
|
|
|
|
|
2009-05-08 17:56:02 +04:00
|
|
|
|
2012-04-26 21:11:20 +04:00
|
|
|
LIBFILES_SCRIPT = \
|
2012-07-07 11:55:51 +04:00
|
|
|
edit.indent.rc
|
2012-04-26 21:11:20 +04:00
|
|
|
|
2009-05-08 17:56:02 +04:00
|
|
|
CLEANFILES = $(SCRIPTS_OUT)
|
|
|
|
|
2009-05-21 02:01:10 +04:00
|
|
|
cfgdir = $(sysconfdir)/@PACKAGE@
|
|
|
|
cfg_DATA = \
|
|
|
|
$(LIBFILES_CONST) \
|
2014-09-04 13:32:09 +04:00
|
|
|
$(SCRIPTS_OUT) \
|
2010-09-16 10:45:11 +04:00
|
|
|
$(LIBFILES_OUT)
|
2009-05-21 02:01:10 +04:00
|
|
|
|
2012-04-26 21:11:20 +04:00
|
|
|
cfg_SCRIPTS = \
|
|
|
|
$(LIBFILES_SCRIPT)
|
|
|
|
|
2009-05-08 17:56:02 +04:00
|
|
|
# Files processed by configure don't need to be here
|
|
|
|
EXTRA_DIST = \
|
|
|
|
$(LIBFILES_CONST) \
|
2012-04-26 21:11:20 +04:00
|
|
|
$(LIBFILES_SCRIPT) \
|
2009-05-08 17:56:02 +04:00
|
|
|
$(SCRIPTS_IN) \
|
2009-05-21 02:01:10 +04:00
|
|
|
$(noinst_DATA) \
|
2010-09-16 10:45:11 +04:00
|
|
|
$(pkgdata_DATA)
|
|
|
|
#if CHARSET is defined, mc.charsets is already here
|
|
|
|
if !CHARSET
|
|
|
|
EXTRA_DIST += mc.charsets
|
|
|
|
endif
|
2016-03-15 10:40:12 +03:00
|
|
|
|
|
|
|
install-data-hook:
|
|
|
|
cd $(DESTDIR)$(cfgdir) && rm -f mc.keymap && $(LN_S) mc.default.keymap mc.keymap
|
|
|
|
|
|
|
|
uninstall-hook:
|
|
|
|
cd $(DESTDIR)$(cfgdir) && rm -f mc.keymap
|