=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/which/Makefile,v retrieving revision 1.7 retrieving revision 1.8 diff -c -r1.7 -r1.8 *** src/usr.bin/which/Makefile 2013/04/13 19:31:58 1.7 --- src/usr.bin/which/Makefile 2013/04/15 16:34:19 1.8 *************** *** 1,13 **** ! # $OpenBSD: Makefile,v 1.7 2013/04/13 19:31:58 guenther Exp $ PROG= which MAN= which.1 whereis.1 LINKS= ${BINDIR}/which ${BINDIR}/whereis check_path_in_man: stdpath=`printf '#include \n_PATH_STDPATH\n' | \ ${CPP} ${CPPFLAGS} - | \ ! sed -n 's/^[ ]*"\(.*\)".*/.Pa \1 ./p'` ; \ fgrep -xq "$$stdpath" ${.CURDIR}/whereis.1 && { touch $@; exit 0; }; \ echo "Update the expansion of _PATH_STDPATH in ${.CURDIR}/whereis.1"; \ exit 1 --- 1,14 ---- ! # $OpenBSD: Makefile,v 1.8 2013/04/15 16:34:19 guenther Exp $ PROG= which MAN= which.1 whereis.1 LINKS= ${BINDIR}/which ${BINDIR}/whereis check_path_in_man: + @echo "Checking path expansion in whereis.1"; \ stdpath=`printf '#include \n_PATH_STDPATH\n' | \ ${CPP} ${CPPFLAGS} - | \ ! sed -n 's/^[ ]*"\(.*\)".*/.D1 \1/p'` ; \ fgrep -xq "$$stdpath" ${.CURDIR}/whereis.1 && { touch $@; exit 0; }; \ echo "Update the expansion of _PATH_STDPATH in ${.CURDIR}/whereis.1"; \ exit 1