Date: Wed, 31 May 2017 08:47:09 +0000 (UTC) From: Ngie Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r319309 - stable/10/sys Message-ID: <201705310847.v4V8l9jO023533@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Wed May 31 08:47:09 2017 New Revision: 319309 URL: https://svnweb.freebsd.org/changeset/base/319309 Log: MFC r317632: Fix "make cscope-clean" when .OBJDIR already exists The cscope generated files are always put in .CURDIR . Modified: stable/10/sys/Makefile Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/Makefile ============================================================================== --- stable/10/sys/Makefile Wed May 31 08:46:39 2017 (r319308) +++ stable/10/sys/Makefile Wed May 31 08:47:09 2017 (r319309) @@ -45,7 +45,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 # You need the devel/global and one of editor/emacs* ports for that. TAGS ${.CURDIR}/TAGS: ${.CURDIR}/cscope.files
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705310847.v4V8l9jO023533>