Make the search target a bit looser in its matching.

This commit is contained in:
Jordan K. Hubbard 1999-01-13 04:08:05 +00:00
parent 250b222fa1
commit 415e6d73aa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=16027

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.42 1999/01/09 03:19:17 asami Exp $
# $Id: Makefile,v 1.43 1999/01/09 08:52:08 asami Exp $
#
SUBDIR += archivers
@ -65,7 +65,7 @@ search: ${.CURDIR}/INDEX
@echo "The search target requires a keyword parameter,"
@echo "e.g.: \"make search key=somekeyword\""
.else
@grep -i "${key}|" ${.CURDIR}/INDEX | awk -F\| '{ printf("Port:\t%s\nPath:\t%s\nInfo:\t%s\nMaint:\t%s\nIndex:\t%s\nB-deps:\t%s\nR-deps:\t%s\n\n", $$1, $$2, $$4, $$6, $$7, $$8, $$9); }'
@grep -i "${key}" ${.CURDIR}/INDEX | awk -F\| '{ printf("Port:\t%s\nPath:\t%s\nInfo:\t%s\nMaint:\t%s\nIndex:\t%s\nB-deps:\t%s\nR-deps:\t%s\n\n", $$1, $$2, $$4, $$6, $$7, $$8, $$9); }'
.endif
parallel: ${.CURDIR}/INDEX