git: 1d0920986f0b - stable/14 - Makefile.ec2: Add missing CLEANFILES entry

From: Colin Percival <cperciva_at_FreeBSD.org>
Date: Thu, 22 Aug 2024 07:55:57 UTC
The branch stable/14 has been updated by cperciva:

URL: https://cgit.FreeBSD.org/src/commit/?id=1d0920986f0b0cdb2de0456620a795e2a39780ce

commit 1d0920986f0b0cdb2de0456620a795e2a39780ce
Author:     Colin Percival <cperciva@FreeBSD.org>
AuthorDate: 2024-08-18 01:59:18 +0000
Commit:     Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2024-08-22 07:55:48 +0000

    Makefile.ec2: Add missing CLEANFILES entry
    
    Without this, "make clean ec2ami" won't build a new AMI.
    
    MFC after:      3 days
    Sponsored by:   Amazon
    
    (cherry picked from commit e06022e1bfc263e8b1393c7b948707a250f16f83)
---
 release/Makefile.ec2 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/release/Makefile.ec2 b/release/Makefile.ec2
index 8f5f6f205779..4363aac21369 100644
--- a/release/Makefile.ec2
+++ b/release/Makefile.ec2
@@ -60,6 +60,7 @@ cw-ec2-portinstall:
 SSMOPTS_${_FL}_${_FS}=	--ssm-name ${SSMPREFIX}/${TARGET_ARCH:S/aarch64/arm64/}/${_FL}/${_FS}/${REVISION}/${BRANCH}
 .endif
 EC2AMILIST+=	ec2ami-${_FL}-${_FS}
+CLEANFILES+=	ec2ami-${_FL}-${_FS}
 ec2ami-${_FL}-${_FS}: cw-ec2-${_FL}-${_FS} ${CW_EC2_PORTINSTALL}
 .if !defined(AWSKEYFILE) || !exists(${AWSKEYFILE})
 	@echo "--------------------------------------------------------------"