From 73dc85456f3ec144dcbbc00d705dd86d78c74a6d Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Tue, 21 Mar 1995 03:12:17 +0000 Subject: New index file format, plus a simple rule (print-index) for making it more human-readable. This should probably be a more capable perl script at some point. --- Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7a54508ab94e..94940f4d01cf 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,16 @@ -# $Id: Makefile,v 1.11 1995/03/16 00:12:23 asami Exp $ +# $Id: Makefile,v 1.12 1995/03/21 01:46:29 jkh Exp $ # SUBDIR= archivers audio cad comms databases devel editors games graphics \ japanese lang mail math net news print shells utils x11 .include -index: +index: ${.CURDIR}/INDEX + +${.CURDIR}/INDEX: @echo -n "Generating INDEX - please wait.." - @make describe > ${.CURDIR}/INDEX + @make describe | sed -e '/===/D' > ${.CURDIR}/INDEX @echo " Done." + +print-index: ${.CURDIR}/INDEX + awk -F@ '{ printf("Port:\t%s\nPath:\t%s\nInfo:\t%s\n\n", $$1, $$2, $$4); }' < ${.CURDIR}/INDEX -- cgit v1.2.3