Module Name:    src
Committed By:   joerg
Date:           Mon Apr 12 18:02:46 UTC 2010

Modified Files:
        src/crypto/external/bsd/openssl/lib/libcrypto/man: Makefile

Log Message:
Rename management target to not overlap with the normal mk rules.
Explicitly drop trailing whitespace after pod2man.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
    src/crypto/external/bsd/openssl/lib/libcrypto/man/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/external/bsd/openssl/lib/libcrypto/man/Makefile
diff -u src/crypto/external/bsd/openssl/lib/libcrypto/man/Makefile:1.2 src/crypto/external/bsd/openssl/lib/libcrypto/man/Makefile:1.3
--- src/crypto/external/bsd/openssl/lib/libcrypto/man/Makefile:1.2	Sun Jan 24 19:16:05 2010
+++ src/crypto/external/bsd/openssl/lib/libcrypto/man/Makefile	Mon Apr 12 18:02:46 2010
@@ -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

Reply via email to