mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
d350d81627
contrib/Makefile.am: mc.sh and friends should depend on config.status. In this case contrib/*.?sh are recreated after each rerun of configure. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
36 lines
1.0 KiB
Makefile
36 lines
1.0 KiB
Makefile
## Process this file with automake to create Makefile.in.
|
|
|
|
SUBDIRS = dist
|
|
|
|
noinst_DATA = README.xterm
|
|
|
|
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.csh: $(top_builddir)/config.status $(srcdir)/mc.csh.in
|
|
sed "s%@""pkglibexecdir@%$(pkglibexecdir)%" $(srcdir)/mc.csh.in > mc.csh
|
|
|
|
mc.sh: $(top_builddir)/config.status $(srcdir)/mc.sh.in
|
|
sed "s%@""pkglibexecdir@%$(pkglibexecdir)%" $(srcdir)/mc.sh.in > mc.sh
|
|
|
|
mc-wrapper.csh: $(top_builddir)/config.status $(srcdir)/mc-wrapper.csh.in
|
|
sed "s%@""bindir@%$(bindir)%" $(srcdir)/mc-wrapper.csh.in > mc-wrapper.csh
|
|
|
|
mc-wrapper.sh: $(top_builddir)/config.status $(srcdir)/mc-wrapper.sh.in
|
|
sed "s%@""bindir@%$(bindir)%" $(srcdir)/mc-wrapper.sh.in > mc-wrapper.sh
|
|
|