svn commit: r319309 - stable/10/sys

Ngie Cooper ngie at FreeBSD.org
Wed May 31 08:47:10 UTC 2017


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


More information about the svn-src-all mailing list