From 4aca86e3e0965d62ced25aa1ba72fb46fc61aebe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Po=C5=82awski?= Date: Mon, 14 Oct 2024 18:52:05 +0200 Subject: [PATCH] Update makefile clean file list with RPMs `make rpms` target is producing *.rpm files in two directories: - result/build/00-srpm-build - result/build/01-rpm-build This commit add those RPM files to list of the files which will be removed during `make clean` --- Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index ffca2296424..130b76c44b5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -34,7 +34,10 @@ MAINTAINERCLEANFILES = Makefile.in config.guess config.h.in config.sub \ py-compile m4/* po/Makefile.in.in po/Rules-quot \ test-driver -CLEANFILES = *~ +CLEANFILES = *~ +CLEANFILES += $(RPM_BUILD_DIR)/*.rpm +CLEANFILES += $(SRPM_BUILD_DIR)/*.rpm +CLEANFILES += *.tar.bz2 dist_noinst_DATA = $(PACKAGE_NAME).spec