diff options
author | Enji Cooper <ngie@FreeBSD.org> | 2017-05-01 05:59:52 +0000 |
---|---|---|
committer | Enji Cooper <ngie@FreeBSD.org> | 2017-05-01 05:59:52 +0000 |
commit | 52f72bfa66cc8e44a5e37de98e7e35c71058bd6c (patch) | |
tree | bca2c052027da076a37875b716c288614e00dffa /sys/Makefile | |
parent | f80c9100ae8e56ff99c975dfa2a83d3b76d91316 (diff) | |
download | src-52f72bfa66cc8e44a5e37de98e7e35c71058bd6c.tar.gz src-52f72bfa66cc8e44a5e37de98e7e35c71058bd6c.zip |
Fix "make cscope-clean" when .OBJDIR already exists
The cscope generated files are always put in .CURDIR .
MFC after: 1 month
Sponsored by: Dell EMC Isilon
Notes
Notes:
svn path=/head/; revision=317632
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 e5bd3cf142b3..6af2e2c28def 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 |