diff options
author | ngie <ngie@FreeBSD.org> | 2017-05-31 08:46:39 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-05-31 08:46:39 +0000 |
commit | 29adcb7e1b1ef78233cfd5e29c13e3392ca25da1 (patch) | |
tree | 8ebfc22ebadb693e81443b214c2d522adbdac476 /sys/Makefile | |
parent | 6d993c7628a384d13a900545ee5ff53e8a3eeb4b (diff) | |
download | FreeBSD-src-29adcb7e1b1ef78233cfd5e29c13e3392ca25da1.zip FreeBSD-src-29adcb7e1b1ef78233cfd5e29c13e3392ca25da1.tar.gz |
MFC r317632:
Fix "make cscope-clean" when .OBJDIR already exists
The cscope generated files are always put in .CURDIR .
Diffstat (limited to 'sys/Makefile')
-rw-r--r-- | sys/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/Makefile b/sys/Makefile index fa8941e..263c3e9 100644 --- a/sys/Makefile +++ b/sys/Makefile @@ -32,7 +32,8 @@ ${.CURDIR}/cscope.files: .PHONY find ${CSCOPEDIRS} -name "*.[chSsly]" -a -type f > ${.TARGET} cscope-clean: - rm -f cscope.files cscope.out cscope.in.out cscope.po.out + cd ${.CURDIR}; \ + rm -f cscope.files cscope.out cscope.in.out cscope.po.out # # Installs SCM hooks to update the cscope database every time the source tree |