Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jan 2016 00:31:24 +0000 (UTC)
From:      Glen Barber <gjb@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: r293448 - stable/10/release
Message-ID:  <201601090031.u090VOET044311@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gjb
Date: Sat Jan  9 00:31:24 2016
New Revision: 293448
URL: https://svnweb.freebsd.org/changeset/base/293448

Log:
  MFC r293173, r293231:
   r293173:
    Fix path to include .OBJDIR to avoid polluting the source
    tree during 'make release'.
  
   r293231:
    Add a new target to touch the ${.OBJDIR}/release file, which
    indicates the 'release' target has run (in order to prevent
    subsequent invocations that may clobber original build output).
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  stable/10/release/Makefile
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/release/Makefile
==============================================================================
--- stable/10/release/Makefile	Sat Jan  9 00:28:34 2016	(r293447)
+++ stable/10/release/Makefile	Sat Jan  9 00:31:24 2016	(r293448)
@@ -318,7 +318,11 @@ ftp: packagesystem
 	cp *.txz MANIFEST ftp
 
 release:	real-release vm-release cloudware-release
-	touch ${.TARGET}
+	${MAKE} -C ${.CURDIR} ${.MAKEFLAGS} release-done
+	true
+
+release-done:
+	touch release
 
 real-release:
 	${MAKE} -C ${.CURDIR} ${.MAKEFLAGS} obj



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