From 7328b0a89db6303aac270f62247ed9ddae6ece77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bodo=20M=C3=B6ller?= Date: Sat, 8 Jan 2000 17:45:30 +0000 Subject: [PATCH] Use basename instead of complicated sed line. --- Makefile.org | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile.org b/Makefile.org index 82fae1496..c209bc4ca 100644 --- a/Makefile.org +++ b/Makefile.org @@ -356,14 +356,12 @@ install: all @echo installing man 1 @for i in doc/openssl.pod doc/man/*.pod ; \ do pod2man --section=1 --date=`date +%Y-%m-%d` --center=OpenSSL \ - --release=$(VERSION) $$i > `echo $$i | sed \ - "s#.*/#$(INSTALL_PREFIX)$(INSTALLTOP)/man/man1/#;s/pod/1/"`; \ + --release=$(VERSION) $$i > $(INSTALL_PREFIX)$(INSTALLTOP)/man/man1/`basename $$i .pod`.1; \ done @echo installing man 3 @for i in doc/crypto.pod doc/ssl.pod ; \ do pod2man --section=3 --date=`date +%Y-%m-%d` --center=OpenSSL \ - --release=$(VERSION) $$i > `echo $$i | sed \ - "s#.*/#$(INSTALL_PREFIX)$(INSTALLTOP)/man/man3/#;s/pod/3/"`; \ + --release=$(VERSION) $$i > $(INSTALL_PREFIX)$(INSTALLTOP)/man/man3/`basename $$i .pod`.3; \ done # DO NOT DELETE THIS LINE -- make depend depends on it.