From 0ea81a3d24614d734997749e56f532c11c84e086 Mon Sep 17 00:00:00 2001 From: Fernando Fernandez Mancera Date: Mon, 26 Oct 2020 10:56:06 +0100 Subject: [PATCH] Makefile: remove "libnm.actions" explicitly when uninstalling On Fedora 33 when compiling NetworkManager it is failing with the following error: ``` ERROR: files left in build directory after distclean: ./docs/libnm/libnm.actions make[1]: *** [Makefile:18427: distcleancheck] Error 1 make[1]: Leaving directory '/builddir/nm-build/NetworkManager/NetworkManager-1.27.90/_build/sub' make: *** [Makefile:18356: distcheck] Error 1 Error make distcheck ``` Adding the file to the DISTCLEANFILES will enforce the removal of this file. Signed-off-by: Fernando Fernandez Mancera https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/659 (cherry picked from commit 9a935e516e7015ef3a9224e034b8de9933e584d5) (cherry picked from commit d28133ad0dd44c501f33b1d46be46a7dbe594ade) (cherry picked from commit e1c1369eefe48e537321e6f3731e3594103d9161) (cherry picked from commit 51b73ae63ab7d00016aee095649d1c5912e0d5e8) --- docs/libnm/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/libnm/Makefile.am b/docs/libnm/Makefile.am index ce82d7eb94..f24e7c0065 100644 --- a/docs/libnm/Makefile.am +++ b/docs/libnm/Makefile.am @@ -95,6 +95,8 @@ CLEANFILES += \ tmpl/* \ xml/* +DISTCLEANFILES = libnm.actions + if GTK_DOC_BUILD_HTML check-local-gtk-doc-patch: @if grep -q -F 'nm-setting-user' "$(top_builddir)/docs/libnm/html/index.html"; then \