From be8df388edaf1adbd212490a294a92e02cb9b939 Mon Sep 17 00:00:00 2001 From: kris Date: Mon, 24 Feb 2003 03:54:41 +0000 Subject: Correct the bug in 'make index' that failed to substitute back the canonical PREFIX locations for /nonexistent* --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index de7fbc7..f3eedd9 100644 --- a/Makefile +++ b/Makefile @@ -70,7 +70,7 @@ ${.CURDIR}/${INDEXFILE}: export X11BASE=/nonexistentx; \ cd ${.CURDIR} && make describe ECHO_MSG="echo > /dev/null" | \ perl ${.CURDIR}/Tools/make_index | \ - sed -e 's/ */ /g' -e 's/| */|/g' -e 's/ *|/|/g' -e "s,${LOCALBASE},/usr/local," -e "s,${X11BASE},/usr/X11R6," > ${INDEXFILE} + sed -e 's/ */ /g' -e 's/| */|/g' -e 's/ *|/|/g' -e "s,$${LOCALBASE},/usr/local," -e "s,$${X11BASE},/usr/X11R6," > ${INDEXFILE} .if !defined(INDEX_NOSORT) @sed -e 's./..g' ${.CURDIR}/${INDEXFILE} | \ sort -t '|' +1 -2 | \ -- cgit v1.1