From 587de0af9261a52a1c0d1535777ea80b72b55996 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..28446eab832 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) +CLEANFILES += $(SRPM_BUILD_DIR) +CLEANFILES += *.tar.bz2 dist_noinst_DATA = $(PACKAGE_NAME).spec