2010-06-11 17:14:39 +04:00
|
|
|
|
|
|
|
mc.1: $(top_builddir)/config.status $(srcdir)/mc.1.in
|
|
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
|
|
|
@MTM=$$(LANG=C stat -c '%y' $(srcdir)/mc.1.in); \
|
2010-06-11 18:33:39 +04:00
|
|
|
MAN_DATE=$$(LC_TIME=$(DATE_LANG) date -d "$${MTM}" +'$(DATE_FORMAT)'); \
|
2010-06-11 17:14:39 +04:00
|
|
|
sed -i "s/@DATE_OF_MAN_PAGE@/$${MAN_DATE}/" $@
|
|
|
|
|
|
|
|
mcedit.1: $(top_builddir)/config.status $(srcdir)/mcedit.1.in
|
|
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
|
|
|
@MTM=$$(LANG=C stat -c '%y' $(srcdir)/mcedit.1.in); \
|
2010-06-11 18:33:39 +04:00
|
|
|
MAN_DATE=$$(LC_TIME=$(DATE_LANG) date -d "$${MTM}" +'$(DATE_FORMAT)'); \
|
2010-06-11 17:14:39 +04:00
|
|
|
sed -i "s/@DATE_OF_MAN_PAGE@/$${MAN_DATE}/" $@
|
|
|
|
|
|
|
|
mcview.1: $(top_builddir)/config.status $(srcdir)/mcview.1.in
|
|
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
|
|
|
@MTM=$$(LANG=C stat -c '%y' $(srcdir)/mcview.1.in); \
|
2010-06-11 18:33:39 +04:00
|
|
|
MAN_DATE=$$(LC_TIME=$(DATE_LANG) date -d "$${MTM}" +'$(DATE_FORMAT)'); \
|
2010-06-11 17:14:39 +04:00
|
|
|
sed -i "s/@DATE_OF_MAN_PAGE@/$${MAN_DATE}/" $@
|
|
|
|
|
|
|
|
mcserv.8: $(top_builddir)/config.status $(srcdir)/mcserv.8.in
|
|
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
|
|
|
@MTM=$$(LANG=C stat -c '%y' $(srcdir)/mcserv.1.in); \
|
2010-06-11 18:33:39 +04:00
|
|
|
MAN_DATE=$$(LC_TIME=$(DATE_LANG) date -d "$${MTM}" +'$(DATE_FORMAT)'); \
|
2010-06-11 17:14:39 +04:00
|
|
|
sed -i "s/@DATE_OF_MAN_PAGE@/$${MAN_DATE}/" $@
|