1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/release
Glen Barber fdbd473ce5 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).

As is, the 'release' target is a dummy target that does nothing
more than depend on subsequent targets.  Unless 'make obj' is
invoked prior to 'make release', .OBJDIR and .CURDIR will always
be '/usr/src/release' (or wherever /usr/src is located).

When 'make release' invokes 'make real-release' (and subsequent
targets), .OBJDIR is not updated, which still leads to src/ tree
pollution.

While arguably a hack, 'make release' will invoke the original
dummy targets as originally intended, but instead of touching an
empty file (or returing @true), will call a 'release-done' target
that will trigger the behavior that was intended to prevent
a subsequent invocation.

Discussed with:	hrs
MFC after:	3 days
X-MFC-With:	r293173
Sponsored by:	The FreeBSD Foundation
2016-01-06 05:23:25 +00:00
..
amd64 Merge ^/projects/release-install-debug: 2016-01-05 21:05:17 +00:00
arm Use UBOOT_FILES in the dd(1) input file, as intended. 2015-10-06 01:05:07 +00:00
arm64 Prevent memstick installation medium from attempting to mount 2016-01-05 03:20:45 +00:00
doc Add rtwn(4) to the hardware list. 2016-01-04 18:34:27 +00:00
i386 Merge ^/projects/release-install-debug: 2016-01-05 21:05:17 +00:00
pc98 Merge ^/projects/release-install-debug: 2016-01-05 21:05:17 +00:00
picobsd rev.284898 removed _SHLIBDIRPREFIX so we need to reconstruct its value 2015-07-10 05:07:18 +00:00
pkg_repos Update the pkg-stage target to be more compatible with pkg-1.2: 2014-01-16 16:12:09 +00:00
powerpc Merge ^/projects/release-install-debug: 2016-01-05 21:05:17 +00:00
scripts Merge ^/projects/release-install-debug: 2016-01-05 21:05:17 +00:00
sparc64 Merge ^/projects/release-install-debug: 2016-01-05 21:05:17 +00:00
tools Fix tmpfs(5) '/tmp' mount point. 2015-11-25 19:10:04 +00:00
Makefile Add a new target to touch the ${.OBJDIR}/release file, which 2016-01-06 05:23:25 +00:00
Makefile.azure Remove the HH-MM suffix from the build date suffix. 2015-07-01 14:51:26 +00:00
Makefile.ec2 Remove the HH-MM suffix from the build date suffix. 2015-07-01 14:51:26 +00:00
Makefile.gce Remove the HH-MM suffix from the build date suffix. 2015-07-01 14:51:26 +00:00
Makefile.mirrors Deprecate MD5 checksum generation in favor of SHA512. 2015-10-14 22:33:11 +00:00
Makefile.vagrant Remove '-' separating OSRELEASE and SNAPSHOT_DATE for vagrant 2015-09-01 15:28:35 +00:00
Makefile.vm Deprecate MD5 checksum generation in favor of SHA512. 2015-10-14 22:33:11 +00:00
rc.local Create /tmp/bsdinstall_etc even if we aren't starting the installer so that 2014-09-13 20:09:02 +00:00
release.conf.sample Merge the following from ^/projects/release-arm64 to allow 2015-04-21 00:48:35 +00:00
release.sh Deprecate MD5 checksum generation in favor of SHA512. 2015-10-14 22:33:11 +00:00