svn commit: r291003 - head/secure/lib/libcrypto

Jung-uk Kim jkim at FreeBSD.org
Tue Nov 17 20:47:18 UTC 2015


Author: jkim
Date: Tue Nov 17 20:47:16 2015
New Revision: 291003
URL: https://svnweb.freebsd.org/changeset/base/291003

Log:
  Simplify man-makefile-update target.

Modified:
  head/secure/lib/libcrypto/Makefile.inc

Modified: head/secure/lib/libcrypto/Makefile.inc
==============================================================================
--- head/secure/lib/libcrypto/Makefile.inc	Tue Nov 17 20:42:59 2015	(r291002)
+++ head/secure/lib/libcrypto/Makefile.inc	Tue Nov 17 20:47:16 2015	(r291003)
@@ -72,13 +72,13 @@ man-makefile-update:
 	    ${.CURDIR}/Makefile.man
 	for i in ${LCRYPTO_DOC}/${_docs}/*.pod; do \
 		fn=`basename $$i .pod`; \
-		if ! echo ' ${_skip} ' | grep -q " $$fn "; then \
+		if ! echo '${_skip}' | grep -qw "$$fn"; then \
 		${ECHO} "MAN+= $$fn.${_sec}" >> ${.CURDIR}/Makefile.man; \
 		fi; \
 	done
 	for i in ${LCRYPTO_DOC}/${_docs}/*.pod; do \
 		fn=`basename $$i .pod`; \
-		if ! echo ' ${_skip} ' | grep -q " $$fn "; then \
+		if ! echo '${_skip}' | grep -qw "$$fn"; then \
 		perl ${LCRYPTO_SRC}/util/extract-names.pl < $$i | \
 		  awk "/^$$fn\$$/ { next; } \
 		  { print \"MLINKS+= $$fn.${_sec} \" \$$1 \".${_sec}\" }" >> \


More information about the svn-src-head mailing list