mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
faac6020ad
Description: If before make dist* ./configure was invoked without parameters next build from resulted tarball with ./configure --enable-charset stop on error "mc.charset not found". "./configure --enable-charset" hack before make dist* resolve this trouble. Fix issue: In contrib/Makefile.am EXTRA_DIST variable was contain filenames relative to --enable-charset option. Now mc.charsets file alvays present in EXTRA_DIST variable. Signed-off-by: Slava Zanko <slavazanko@gmail.com>
43 lines
1.0 KiB
Makefile
43 lines
1.0 KiB
Makefile
## Process this file with automake to create Makefile.in.
|
|
|
|
SUBDIRS = dist
|
|
|
|
if CHARSET
|
|
LIBFILES_ADD = mc.charsets
|
|
else
|
|
LIBFILES_ADD =
|
|
endif
|
|
|
|
noinst_DATA = README.xterm mcserv.init mcserv.pamd
|
|
|
|
SCRIPTS_IN = mc.csh.in mc.sh.in mc-wrapper.csh.in mc-wrapper.sh.in
|
|
SCRIPTS_OUT = mc.csh mc.sh mc-wrapper.csh mc-wrapper.sh
|
|
|
|
pkglibexec_SCRIPTS = $(SCRIPTS_OUT)
|
|
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
|
|
|
cfgdir = $(sysconfdir)/@PACKAGE@
|
|
cfg_DATA = \
|
|
$(LIBFILES_ADD)
|
|
|
|
CLEANFILES = $(SCRIPTS_OUT)
|
|
|
|
# Files processed by configure don't need to be here
|
|
EXTRA_DIST = \
|
|
$(SCRIPTS_IN) \
|
|
$(noinst_DATA) \
|
|
mc.charsets
|
|
|
|
mc.csh: $(srcdir)/mc.csh.in
|
|
sed "s%@""pkglibexecdir@%$(pkglibexecdir)%" $(srcdir)/mc.csh.in > mc.csh
|
|
|
|
mc.sh: $(srcdir)/mc.sh.in
|
|
sed "s%@""pkglibexecdir@%$(pkglibexecdir)%" $(srcdir)/mc.sh.in > mc.sh
|
|
|
|
mc-wrapper.csh: $(srcdir)/mc-wrapper.csh.in
|
|
sed "s%@""bindir@%$(bindir)%" $(srcdir)/mc-wrapper.csh.in > mc-wrapper.csh
|
|
|
|
mc-wrapper.sh: $(srcdir)/mc-wrapper.sh.in
|
|
sed "s%@""bindir@%$(bindir)%" $(srcdir)/mc-wrapper.sh.in > mc-wrapper.sh
|
|
|