Simplify man-makefile-update target.
This commit is contained in:
parent
8f5847a583
commit
195994e5fb
@ -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}\" }" >> \
|
||||
|
Loading…
Reference in New Issue
Block a user