From fa610a17a3d8251bec7b0a869eae6aadb1ea3c55 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Wed, 27 Dec 2000 16:44:51 +1100 Subject: - (djm) Fix catman-do target for non-bash --- ChangeLog | 1 + Makefile.in | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d23a7f555..f0663c038 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ Takumi Yamane - (bal) Checks for getrlimit(), sysconf(), and setdtablesize(). Patch by Corinna Vinschen + - (djm) Fix catman-do target for non-bash 20001223 - (bal) Fixed Makefile.in to support recompile of all ssh and sshd objects diff --git a/Makefile.in b/Makefile.in index 117968cdc..05ff36eff 100644 --- a/Makefile.in +++ b/Makefile.in @@ -127,9 +127,10 @@ veryclean: distclean catman-do: @for f in $(TROFFMAN) ; do \ - echo "$$f -> $${f%%.[18]}.0" ; \ + base=`echo $$f | sed 's/\..*$$//'` ; \ + echo "$$f -> $$base.0" ; \ nroff -mandoc $$f | cat -v | sed -e 's/.\^H//g' \ - >$${f%%.[18]}.0 ; \ + >$$base.0 ; \ done distprep: catman-do -- cgit v1.2.3