diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2013-04-15 16:34:20 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2013-04-15 16:34:20 +0000 |
commit | 0f2226790666d9d44c37ce200dff5668cddef63c (patch) | |
tree | 792af28a13181a7891268e488372b793339869a0 /usr.bin/which | |
parent | 263da89f9d5b50c6de3aebd59d1d4621dbd22b40 (diff) |
Tweak check rule to match change to the manpage formatting
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 |