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
This commit is contained in:
Enji Cooper 2017-05-01 05:59:52 +00:00
parent f80c9100ae
commit 52f72bfa66
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=317632

View File

@ -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