Makefile.am 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. ## Process this file with automake to create Makefile.in.
  2. SUBDIRS = ext.d macros.d skins syntax
  3. LIBFILES_OUT = mc.ext.ini
  4. noinst_DATA = xterm.ad
  5. PKGDATA_IN = mc.charsets.in
  6. PKGDATA_OUT =
  7. if CHARSET
  8. PKGDATA_OUT += mc.charsets
  9. endif
  10. dist_pkgdata_DATA = \
  11. mc.lib
  12. pkgdata_DATA = \
  13. $(PKGDATA_OUT)
  14. SCRIPTS_IN = \
  15. mc.menu.in \
  16. mcedit.menu.in
  17. SCRIPTS_OUT = \
  18. mc.menu \
  19. mcedit.menu
  20. LIBFILES_CONST = \
  21. filehighlight.ini \
  22. mc.default.keymap \
  23. mc.emacs.keymap \
  24. mc.vim.keymap
  25. LIBFILES_SCRIPT = \
  26. edit.indent.rc
  27. CLEANFILES = $(SCRIPTS_OUT) $(PKGDATA_OUT)
  28. cfgdir = $(sysconfdir)/@PACKAGE@
  29. cfg_DATA = \
  30. $(LIBFILES_CONST) \
  31. $(SCRIPTS_OUT) \
  32. $(LIBFILES_OUT)
  33. cfg_SCRIPTS = \
  34. $(LIBFILES_SCRIPT)
  35. # Files processed by configure don't need to be here
  36. EXTRA_DIST = \
  37. $(LIBFILES_CONST) \
  38. $(LIBFILES_SCRIPT) \
  39. $(SCRIPTS_IN) \
  40. $(noinst_DATA) \
  41. $(PKGDATA_IN)
  42. install-data-hook:
  43. cd $(DESTDIR)$(cfgdir) && rm -f mc.keymap && $(LN_S) mc.default.keymap mc.keymap
  44. uninstall-hook:
  45. cd $(DESTDIR)$(cfgdir) && rm -f mc.keymap