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 117968cdc..05ff36eff 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -127,9 +127,10 @@ veryclean: distclean | |||
127 | 127 | ||
128 | catman-do: | 128 | catman-do: |
129 | @for f in $(TROFFMAN) ; do \ | 129 | @for f in $(TROFFMAN) ; do \ |
130 | echo "$$f -> $${f%%.[18]}.0" ; \ | 130 | base=`echo $$f | sed 's/\..*$$//'` ; \ |
131 | echo "$$f -> $$base.0" ; \ | ||
131 | nroff -mandoc $$f | cat -v | sed -e 's/.\^H//g' \ | 132 | nroff -mandoc $$f | cat -v | sed -e 's/.\^H//g' \ |
132 | >$${f%%.[18]}.0 ; \ | 133 | >$$base.0 ; \ |
133 | done | 134 | done |
134 | 135 | ||
135 | distprep: catman-do | 136 | distprep: catman-do |