mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
284003e838
Save space and fix rpmlint warning found by OBS Framework (build.opensuse.org). mc.x86_64: W: files-duplicate /etc/mc/mc.keymap /etc/mc/mc.default.keymap Signed-off-by: Andreas Mohr <and@gmx.li> Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
60 lines
1010 B
Makefile
60 lines
1010 B
Makefile
## Process this file with automake to create Makefile.in.
|
|
|
|
SUBDIRS = ext.d macros.d skins syntax
|
|
|
|
LIBFILES_OUT = mc.ext
|
|
|
|
noinst_DATA = xterm.ad
|
|
|
|
pkgdata_DATA = \
|
|
mc.lib
|
|
if CHARSET
|
|
pkgdata_DATA += mc.charsets
|
|
endif
|
|
|
|
SCRIPTS_IN = \
|
|
mc.menu.in \
|
|
mcedit.menu.in
|
|
|
|
SCRIPTS_OUT = \
|
|
mc.menu \
|
|
mcedit.menu
|
|
|
|
LIBFILES_CONST = \
|
|
filehighlight.ini \
|
|
mc.default.keymap \
|
|
mc.emacs.keymap
|
|
|
|
|
|
LIBFILES_SCRIPT = \
|
|
edit.indent.rc
|
|
|
|
CLEANFILES = $(SCRIPTS_OUT)
|
|
|
|
cfgdir = $(sysconfdir)/@PACKAGE@
|
|
cfg_DATA = \
|
|
$(LIBFILES_CONST) \
|
|
$(SCRIPTS_OUT) \
|
|
$(LIBFILES_OUT)
|
|
|
|
cfg_SCRIPTS = \
|
|
$(LIBFILES_SCRIPT)
|
|
|
|
# Files processed by configure don't need to be here
|
|
EXTRA_DIST = \
|
|
$(LIBFILES_CONST) \
|
|
$(LIBFILES_SCRIPT) \
|
|
$(SCRIPTS_IN) \
|
|
$(noinst_DATA) \
|
|
$(pkgdata_DATA)
|
|
#if CHARSET is defined, mc.charsets is already here
|
|
if !CHARSET
|
|
EXTRA_DIST += mc.charsets
|
|
endif
|
|
|
|
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
|