diff options
author | P. J. McDermott <pjm@nac.net> | 2013-05-10 11:30:19 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-05-10 11:30:19 (EDT) |
commit | da79fa6593e1f337d0e7198bca0be830adf32dd8 (patch) | |
tree | 1ccceff54b14a1c6ba1b79a7c7cc46ce44202366 | |
parent | e6b9bdc45e6fc44d0f3106e08e9e4cd185a21365 (diff) |
Makefile.in: Remove date substitution in man/*.1.
-rw-r--r-- | Makefile.in | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/Makefile.in b/Makefile.in index c6d51ef..18c4302 100644 --- a/Makefile.in +++ b/Makefile.in @@ -104,18 +104,7 @@ script = \ .1in.1: @printf ' SED %s\n' '$*.1' - @abmon='Nul Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec '; \ - date=$$(LC_TIME=POSIX ls -l '$(srcdir)/$*.1in' | sed 's/ / /g' | \ - cut -d ' ' -f 6-8); \ - md="$${date% *}"; \ - m="$$(echo $${abmon% $${md% *} *} | wc -w)"; \ - d="$${md#* }"; \ - [ $${m} -lt 10 ] && m="0$${m}"; \ - [ $${d} -lt 10 ] && d="0$${d}"; \ - y="$${date##* }"; \ - [ "$${y%:*}" != "$${y}" ] && y=$$(date '+%Y'); \ - sed "$(script) s&@@DATE@@&$${y}-$${m}-$${d}&;" \ - '$(srcdir)/$*.1in' >'$*.1' + @sed '$(script)' '$(srcdir)/$*.1in' >'$*.1' .sh.ms: @printf ' CP %s\n' '$*.ms' |