Makefile.am 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. ## Process this file with automake to create Makefile.in.
  2. SUBDIRS = dist
  3. if CHARSET
  4. LIBFILES_ADD = mc.charsets
  5. else
  6. LIBFILES_ADD =
  7. endif
  8. noinst_DATA = README.xterm mcserv.init mcserv.pamd
  9. SCRIPTS_IN = mc.csh.in mc.sh.in mc-wrapper.csh.in mc-wrapper.sh.in
  10. SCRIPTS_OUT = mc.csh mc.sh mc-wrapper.csh mc-wrapper.sh
  11. pkglibexec_SCRIPTS = $(SCRIPTS_OUT)
  12. pkglibexecdir = $(libexecdir)/@PACKAGE@
  13. cfgdir = $(sysconfdir)/@PACKAGE@
  14. cfg_DATA = \
  15. $(LIBFILES_ADD)
  16. CLEANFILES = $(SCRIPTS_OUT)
  17. # Files processed by configure don't need to be here
  18. EXTRA_DIST = \
  19. $(SCRIPTS_IN) \
  20. $(noinst_DATA) \
  21. mc.charsets
  22. mc.csh: $(srcdir)/mc.csh.in
  23. sed "s%@""pkglibexecdir@%$(pkglibexecdir)%" $(srcdir)/mc.csh.in > mc.csh
  24. mc.sh: $(srcdir)/mc.sh.in
  25. sed "s%@""pkglibexecdir@%$(pkglibexecdir)%" $(srcdir)/mc.sh.in > mc.sh
  26. mc-wrapper.csh: $(srcdir)/mc-wrapper.csh.in
  27. sed "s%@""bindir@%$(bindir)%" $(srcdir)/mc-wrapper.csh.in > mc-wrapper.csh
  28. mc-wrapper.sh: $(srcdir)/mc-wrapper.sh.in
  29. sed "s%@""bindir@%$(bindir)%" $(srcdir)/mc-wrapper.sh.in > mc-wrapper.sh