From 9a935e516e7015ef3a9224e034b8de9933e584d5 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 --- docs/libnm/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/libnm/Makefile.am b/docs/libnm/Makefile.am index 6f04cd1e4d..b637f79835 100644 --- a/docs/libnm/Makefile.am +++ b/docs/libnm/Makefile.am @@ -109,6 +109,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 \