Simplify man-makefile-update target.

This commit is contained in:
Jung-uk Kim 2015-11-17 20:47:16 +00:00
parent 3e8918911e
commit fa4593b5c7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=291003

View File

@ -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}\" }" >> \