From c5aaf4befd2ed89299010eccb4c51464fcaa99d0 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 5 Nov 2021 16:14:54 +0530 Subject: Makefile: Do not clean files based on extension. * Makefile.am (CLEANFILES): Replace doc/*.cwl, doc/*.dot, doc/*.out and doc/*.png with DOC_SCM, DOC_IMAGES and DOC_OUT variables. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 5e92638..614e679 100644 --- a/Makefile.am +++ b/Makefile.am @@ -100,7 +100,7 @@ EXTRA_DIST += \ include .depends -CLEANFILES += doc/*.cwl doc/*.dot doc/*.out doc/*.png +CLEANFILES += $(DOC_SCM:.scm=.cwl) $(DOC_IMAGES) $(DOC_IMAGES:.png=.dot) $(DOC_OUT) CLEAN_DIRECTORIES = doc/cwl-output %.cwl: %.scm -- cgit v1.2.3