Home | History | Annotate | Download | only in mk
History log of /src/share/mk/bsd.clean.mk
RevisionDateAuthorComments
 1.10  03-Jun-2023  lukem bsd.*.mk: move MKCLEAN* to bsd.own.mk

Move the defaults for MKCLEANSRC and MKCLEANVERIFY
from bsd.clean.mk to bsd.own.mk _MKVARS.yes.
 1.9  07-Dec-2021  rillig bsd.clean.mk: fix typo in comment
 1.8  19-Nov-2012  apb On second thoughts, don't run "rm -rf" in bsd.clean.mk. Instead,
document that CLEANFILES and CLEANDIRFILES must not contain
directory names.
 1.7  19-Nov-2012  apb Use "rm -rf" instead of "rm -f" in bsd.clean.mk. This will
allow CLEANFILES or CLEANDIRFILES to contain directory names.
 1.6  18-Nov-2012  apb Under "Failed to remove the following files from ${_d}:",
print one file name per line, indented to make the list more visible.
 1.5  22-Nov-2011  apb branches: 1.5.6;
Use :Q to deal with the case that CLEANFILES or CLEANDIRFILES
contains quoted substrings (such as file names with spaces).
Problem reported by Joseph Koshy, who also provided the
important part of the fix.
 1.4  05-Oct-2011  apb branches: 1.4.2;
Add MKCLEANSRC and MKCLEANVERIFY variables, defaulting to "yes".
You may set them to "no" to get the old behaviour of "make clean"
and "make cleandir".
 1.3  23-Sep-2011  apb * use a :M* modifier when testing whether the expanded list of
files is empty. Sometimes the variable contains one or more spaces,
and testing against "" gave the wrong result, but applying the
:M* modifier discards the spaces. This should fix PR 45396.
* Instead of using "-" to ignore the exit status from the rm command,
use ||true. This should work around the bug in PR 45356, but that
bug is not fixed.
* Suppress the ${MKMSG} command with .if 0. People who build with
MAKEVERBOSE=1 don't want to see the message, and people who build
with MAKEVERBOSE=2 or higher will see the actual rm command. The
message may be useful for debugging this makefile itself, so it's
only disabled, not deleted.
 1.2  10-Sep-2011  apb Don't automatically load ".depend" files during "make clean"
or "make cleandir".
 1.1  10-Sep-2011  apb Move all "clean" and "cleandir" processing to a new bsd.clean.mk
file, as proposed in tech-toolchain.
 1.4.2.2  16-Jan-2013  yamt sync with (a bit old) head
 1.4.2.1  17-Apr-2012  yamt sync with head
 1.5.6.2  25-Feb-2013  tls resync with head
 1.5.6.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC

RSS XML Feed