diff options
author | Damien Miller <djm@mindrot.org> | 2000-12-27 16:44:51 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-12-27 16:44:51 +1100 |
commit | fa610a17a3d8251bec7b0a869eae6aadb1ea3c55 (patch) | |
tree | 5deffa6d38498ace93acedf346691d9c30aaa750 /Makefile.in | |
parent | 2c467a20f4f82000908b7c3d158e8a7960d3bad1 (diff) |
- (djm) Fix catman-do target for non-bash
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index 117968cd..05ff36ef 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 |