diff mbox series

libtraceevent: Remove *.3 and *.m documentation files from build directory

Message ID 20211217003445.7d4c9025@oasis.local.home (mailing list archive)
State Accepted
Commit 456f1fa5372cfd84a34bf6e0a5788b33e8d9394f
Headers show
Series libtraceevent: Remove *.3 and *.m documentation files from build directory | expand

Commit Message

Steven Rostedt Dec. 17, 2021, 5:34 a.m. UTC
From: "Steven Rostedt (VMware)" <rostedt@goodmis.org>

The clean target in the make file for the documentation used just *.3 and
*.m to remove the temporary files. These files are built in the build
directory, and the clean does not affect them if a remote directory is
used to build the documentation.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
---
 Documentation/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/Documentation/Makefile b/Documentation/Makefile
index 5904b79..39f2be4 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -190,7 +190,7 @@  endif
 CLEAN_FILES =					\
 	$(MAN_XML) $(addsuffix +,$(MAN_XML))	\
 	$(MAN_HTML) $(addsuffix +,$(MAN_HTML))	\
-	$(DOC_MAN3) *.3 *.m
+	$(DOC_MAN3) $(OUTPUT)*.3 $(OUTPUT)*.m
 
 clean:
 	$(call QUIET_CLEAN, Documentation) $(RM) $(CLEAN_FILES)