Makefile.am 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. suppbindir = $(pkgdatadir)/bin
  2. if CHARSET
  3. LIBFILES_ADD = mc.charsets
  4. else
  5. LIBFILES_ADD =
  6. endif
  7. LIBFILES_OUT = mc.ext
  8. LIBFILES_CONST = mc.hint mc.hint.cs mc.hint.es mc.hint.hu mc.hint.it \
  9. mc.hint.nl mc.hint.pl mc.hint.ru mc.hint.sr mc.hint.uk \
  10. mc.hint.zh mc.lib mc.menu mc.menu.sr cedit.menu edit.indent.rc \
  11. edit.spell.rc
  12. noinst_DATA = README.xterm mcserv.init mcserv.pamd xterm.ad
  13. SCRIPTS_IN = mc.csh.in mc.sh.in mc-wrapper.csh.in mc-wrapper.sh.in
  14. SCRIPTS_OUT = mc.csh mc.sh mc-wrapper.csh mc-wrapper.sh
  15. suppbin_SCRIPTS = $(SCRIPTS_OUT)
  16. pkgdata_DATA = $(LIBFILES_CONST) $(LIBFILES_ADD) $(LIBFILES_OUT)
  17. CLEANFILES = $(SCRIPTS_OUT)
  18. # Files processed by configure don't need to be here
  19. EXTRA_DIST = \
  20. $(LIBFILES_CONST) \
  21. $(SCRIPTS_IN) \
  22. $(noinst_DATA) \
  23. mc.charsets
  24. mc.csh: $(srcdir)/mc.csh.in
  25. sed "s%@""suppbindir@%$(suppbindir)%" $(srcdir)/mc.csh.in > mc.csh
  26. mc.sh: $(srcdir)/mc.sh.in
  27. sed "s%@""suppbindir@%$(suppbindir)%" $(srcdir)/mc.sh.in > mc.sh
  28. mc-wrapper.csh: $(srcdir)/mc-wrapper.csh.in
  29. sed "s%@""bindir@%$(bindir)%" $(srcdir)/mc-wrapper.csh.in > mc-wrapper.csh
  30. mc-wrapper.sh: $(srcdir)/mc-wrapper.sh.in
  31. sed "s%@""bindir@%$(bindir)%" $(srcdir)/mc-wrapper.sh.in > mc-wrapper.sh