mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-26 22:23:08 +00:00
Makefile.vm: Set CLEANDIRS correctly for vm-image
With multiple filesystems and disk image formats, we now use different
staging directories; we need to include them all in CLEANDIRS.
Fixes: 97bd53ef4d
"Makefile.vm: Fix duplicate rc.conf files"
MFC after: 3 days
This commit is contained in:
parent
ea2663040d
commit
7ffa1f14e3
@ -145,9 +145,10 @@ cw-${_CW:tl}: cw-${_CW:tl}-${${_CW:tu}_FORMAT:[1]}
|
||||
.endif
|
||||
|
||||
.if defined(WITH_VMIMAGES) && !empty(WITH_VMIMAGES)
|
||||
CLEANDIRS+= ${VMTARGETS}
|
||||
CLEANFILES+= vm-image
|
||||
. for FORMAT in ${VMFORMATS}
|
||||
. for FS in ${VMFSLIST}
|
||||
CLEANDIRS+= vm-image-${FORMAT}-${FS}
|
||||
CLEANFILES+= ${FORMAT}.${FS}.img
|
||||
CLEANFILES+= ${VMBASE}.${FS}.${FORMAT}
|
||||
. endfor
|
||||
|
Loading…
Reference in New Issue
Block a user