diff options
Diffstat (limited to 'usr.bin/which')
-rw-r--r-- | usr.bin/which/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/which/Makefile b/usr.bin/which/Makefile index 19c6be1a703..26b1262e66b 100644 --- a/usr.bin/which/Makefile +++ b/usr.bin/which/Makefile @@ -1,13 +1,14 @@ -# $OpenBSD: Makefile,v 1.7 2013/04/13 19:31:58 guenther Exp $ +# $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 <paths.h>\n_PATH_STDPATH\n' | \ ${CPP} ${CPPFLAGS} - | \ - sed -n 's/^[ ]*"\(.*\)".*/.Pa \1 ./p'` ; \ + 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 |