Author: ngie
Date: Wed May 31 08:46:39 2017
New Revision: 319308
URL: https://svnweb.freebsd.org/changeset/base/319308

Log:
  MFC r317632:
  
  Fix "make cscope-clean" when .OBJDIR already exists
  
  The cscope generated files are always put in .CURDIR .

Modified:
  stable/11/sys/Makefile
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/Makefile
==============================================================================
--- stable/11/sys/Makefile      Wed May 31 08:43:46 2017        (r319307)
+++ stable/11/sys/Makefile      Wed May 31 08:46:39 2017        (r319308)
@@ -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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to