Makefile.am 1009 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. ## Process this file with automake to create Makefile.in.
  2. SUBDIRS = ext.d macros.d skins syntax
  3. LIBFILES_OUT = mc.ext
  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. LIBFILES_SCRIPT = \
  25. edit.indent.rc
  26. CLEANFILES = $(SCRIPTS_OUT) $(PKGDATA_OUT)
  27. cfgdir = $(sysconfdir)/@PACKAGE@
  28. cfg_DATA = \
  29. $(LIBFILES_CONST) \
  30. $(SCRIPTS_OUT) \
  31. $(LIBFILES_OUT)
  32. cfg_SCRIPTS = \
  33. $(LIBFILES_SCRIPT)
  34. # Files processed by configure don't need to be here
  35. EXTRA_DIST = \
  36. $(LIBFILES_CONST) \
  37. $(LIBFILES_SCRIPT) \
  38. $(SCRIPTS_IN) \
  39. $(noinst_DATA) \
  40. $(PKGDATA_IN)
  41. install-data-hook:
  42. cd $(DESTDIR)$(cfgdir) && rm -f mc.keymap && $(LN_S) mc.default.keymap mc.keymap
  43. uninstall-hook:
  44. cd $(DESTDIR)$(cfgdir) && rm -f mc.keymap