Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 May 2017 08:46:39 +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-11@freebsd.org
Subject:   svn commit: r319308 - stable/11/sys
Message-ID:  <201705310846.v4V8kdrn023466@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705310846.v4V8kdrn023466>