2 -e "s/%DATE_OF_MAN_PAGE%/$${MAN_DATE}/g" \
3 -e "s/%MAN_VERSION%/@MAN_VERSION@/g" \
4 -e "s{%sysconfdir%{@sysconfdir@{g" \
5 -e "s{%libexecdir%{@libexecdir@{g" \
6 -e "s{%pkglibexecdir%{$(libexecdir)/@PACKAGE@{g" \
7 -e "s{%pkgdatadir%{$(datadir)/@PACKAGE@{g"
10 LC_ALL=$(DATE_LANG) @PERL_FOR_BUILD@ -CS -MPOSIX -e '\
11 @fi=lstat("'$${MAN_FILE}'"); \
12 print POSIX::strftime("$(DATE_FORMAT)", localtime($$fi[9]));' 2>/dev/null
14 mc.1: $(srcdir)/mc.1.in
15 MAN_FILE='$(srcdir)/mc.1.in'; MAN_DATE=$$($(MAN_DATE_CMD)); \
16 $(SED) $(SED_PARAMETERS) '$(srcdir)/mc.1.in' > '$@'
18 mcview.1: $(srcdir)/mcview.1.in
19 MAN_FILE='$(srcdir)/mcview.1.in'; MAN_DATE=$$($(MAN_DATE_CMD)); \
20 $(SED) $(SED_PARAMETERS) '$(srcdir)/mcview.1.in' > '$@'
23 mcedit.1: $(srcdir)/mcedit.1.in
24 MAN_FILE='$(srcdir)/mcedit.1.in'; MAN_DATE=$$($(MAN_DATE_CMD)); \
25 $(SED) $(SED_PARAMETERS) '$(srcdir)/mcedit.1.in' > '$@'
29 mcdiff.1: $(srcdir)/mcdiff.1.in
30 MAN_FILE='$(srcdir)/mcdiff.1.in'; MAN_DATE=$$($(MAN_DATE_CMD)); \
31 $(SED) $(SED_PARAMETERS) '$(srcdir)/mcdiff.1.in' > '$@'