Ticket #3181: mc-3181-wrapper-depends-on-config.patch

File mc-3181-wrapper-depends-on-config.patch, 925 bytes (added by egmont, 6 years ago)
  • contrib/Makefile.am

    diff --git a/contrib/Makefile.am b/contrib/Makefile.am
    index 32c5708..94d2a55 100644
    a b EXTRA_DIST = \ 
    2121        $(SCRIPTS_IN) \ 
    2222        $(noinst_DATA) 
    2323 
    24 mc.csh: $(srcdir)/mc.csh.in 
     24mc.csh: $(top_builddir)/config.status $(srcdir)/mc.csh.in 
    2525        sed "s%@""pkglibexecdir@%$(pkglibexecdir)%" $(srcdir)/mc.csh.in > mc.csh 
    2626 
    27 mc.sh: $(srcdir)/mc.sh.in 
     27mc.sh: $(top_builddir)/config.status $(srcdir)/mc.sh.in 
    2828        sed "s%@""pkglibexecdir@%$(pkglibexecdir)%" $(srcdir)/mc.sh.in > mc.sh 
    2929 
    30 mc-wrapper.csh: $(srcdir)/mc-wrapper.csh.in 
     30mc-wrapper.csh: $(top_builddir)/config.status $(srcdir)/mc-wrapper.csh.in 
    3131        sed "s%@""bindir@%$(bindir)%" $(srcdir)/mc-wrapper.csh.in > mc-wrapper.csh 
    3232 
    33 mc-wrapper.sh: $(srcdir)/mc-wrapper.sh.in 
     33mc-wrapper.sh: $(top_builddir)/config.status $(srcdir)/mc-wrapper.sh.in 
    3434        sed "s%@""bindir@%$(bindir)%" $(srcdir)/mc-wrapper.sh.in > mc-wrapper.sh 
    3535