From 478c4a8f495f4b665e6bcb5b5a669089a7bd614a Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Mon, 5 Jan 2015 14:31:44 +0100 Subject: [PATCH] build: do not clean figure sources in make clean "make clean && make" fails in in-tree builds. * doc/local.mk (CLEANDIRS): Replace with... (CLEANFILES): this safer list of files to clean. --- doc/local.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/local.mk b/doc/local.mk index e92ea715..c340452a 100644 --- a/doc/local.mk +++ b/doc/local.mk @@ -132,7 +132,7 @@ endif ## Graphviz examples generation. ## ## ----------------------------- ## -CLEANDIRS += doc/figs +CLEANFILES += $(FIGS_GV:.gv=.eps) $(FIGS_GV:.gv=.pdf) $(FIGS_GV:.gv=.png) FIGS_GV = \ doc/figs/example.gv \ doc/figs/example-reduce.gv doc/figs/example-shift.gv -- 2.45.2