summaryrefslogtreecommitdiffstats
path: root/misc/Makefile.am
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:44:12 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:44:12 +0000
commit8ccb487c21368a7fdc8c7c72315325bf0aa06147 (patch)
treeb2056fae01d325924508a41731edfbd4c3cddd23 /misc/Makefile.am
parentInitial commit. (diff)
downloadmc-8ccb487c21368a7fdc8c7c72315325bf0aa06147.tar.xz
mc-8ccb487c21368a7fdc8c7c72315325bf0aa06147.zip
Adding upstream version 3:4.8.29.upstream/3%4.8.29upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--misc/Makefile.am62
1 files changed, 62 insertions, 0 deletions
diff --git a/misc/Makefile.am b/misc/Makefile.am
new file mode 100644
index 0000000..17c495c
--- /dev/null
+++ b/misc/Makefile.am
@@ -0,0 +1,62 @@
+## Process this file with automake to create Makefile.in.
+
+SUBDIRS = ext.d macros.d skins syntax
+
+LIBFILES_OUT = mc.ext.ini
+
+noinst_DATA = xterm.ad
+
+PKGDATA_IN = mc.charsets.in
+
+PKGDATA_OUT =
+if CHARSET
+PKGDATA_OUT += mc.charsets
+endif
+
+dist_pkgdata_DATA = \
+ mc.lib
+
+pkgdata_DATA = \
+ $(PKGDATA_OUT)
+
+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) $(PKGDATA_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_IN)
+
+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