mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-18 17:29:28 +03:00
793546fed4
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
19 lines
894 B
Plaintext
19 lines
894 B
Plaintext
|
|
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); \
|
|
MAN_DATE=$$(LC_TIME=$(DATE_LANG) date -d "$${MTM}" +'$(DATE_FORMAT)'); \
|
|
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); \
|
|
MAN_DATE=$$(LC_TIME=$(DATE_LANG) date -d "$${MTM}" +'$(DATE_FORMAT)'); \
|
|
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); \
|
|
MAN_DATE=$$(LC_TIME=$(DATE_LANG) date -d "$${MTM}" +'$(DATE_FORMAT)'); \
|
|
sed -i "s/@DATE_OF_MAN_PAGE@/$${MAN_DATE}/" $@
|