Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/external/bsd/openssl/lib/libcrypto/man Rename managem...
details: https://anonhg.NetBSD.org/src/rev/98d5b7487990
branches: trunk
changeset: 753853:98d5b7487990
user: joerg <joerg%NetBSD.org@localhost>
date: Mon Apr 12 18:02:46 2010 +0000
description:
Rename management target to not overlap with the normal mk rules.
Explicitly drop trailing whitespace after pod2man.
diffstat:
crypto/external/bsd/openssl/lib/libcrypto/man/Makefile | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diffs (48 lines):
diff -r 4f3fff59f03f -r 98d5b7487990 crypto/external/bsd/openssl/lib/libcrypto/man/Makefile
--- a/crypto/external/bsd/openssl/lib/libcrypto/man/Makefile Mon Apr 12 17:59:37 2010 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/man/Makefile Mon Apr 12 18:02:46 2010 +0000
@@ -1,17 +1,15 @@
-# $NetBSD: Makefile,v 1.2 2010/01/24 19:16:05 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2010/04/12 18:02:46 joerg Exp $
# the makefile is not, and should not be visited during normal build process.
# try to use latest pod2man, which comes with the latest perl.
-# XXX: remove .UC lines
-
.include <bsd.own.mk>
CRYPTODIST= ${NETBSDSRCDIR}/crypto
.include "${NETBSDSRCDIR}/crypto/Makefile.openssl"
VERSION!= head -2 ${OPENSSLSRC}/README | tail -1 | awk '{ print $$2; }'
-manpages:
+make-manpages:
for i in ${OPENSSLSRC}/doc/apps/*.pod; do \
fn=`basename $$i .pod`; \
if [ "$$fn" = "config" ]; then \
@@ -27,6 +25,7 @@
(cd `dirname $$i`; \
pod2man --section=$$sec --center=OpenSSL --release=${VERSION} \
`basename $$i`) | \
+ sed -e 's/[[:space:]]*$$//' | \
perl libcrypto.pl >$$dst; \
done
for i in ${OPENSSLSRC}/doc/crypto/*.pod \
@@ -36,12 +35,15 @@
sec=7; \
(cd `dirname $$i`; \
pod2man --section=$$sec --center=OpenSSL --release=${VERSION} \
- `basename $$i`) | sed -e '/$$RCSfile/d' -e '/$$Log/d' > `basename $$i .pod`.$$sec; \
+ `basename $$i`) | \
+ sed -e '/$$RCSfile/d' -e '/$$Log/d' -e 's/[[:space:]]*$$//' \
+ > `basename $$i .pod`.$$sec; \
else \
sec=3; \
(cd `dirname $$i`; \
pod2man --section=$$sec --center=OpenSSL --release=${VERSION} \
`basename $$i`) | \
+ sed -e 's/[[:space:]]*$$//' | \
perl libcrypto.pl >`basename $$i .pod`.$$sec; \
fi \
done
Home |
Main Index |
Thread Index |
Old Index