]> git.saurik.com Git - bison.git/commitdiff
build: do not clean figure sources in make clean
authorAkim Demaille <akim@lrde.epita.fr>
Mon, 5 Jan 2015 13:31:44 +0000 (14:31 +0100)
committerAkim Demaille <akim@lrde.epita.fr>
Mon, 5 Jan 2015 13:41:46 +0000 (14:41 +0100)
"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

index e92ea71531278db830ee612285cb0ba3c2a9fd48..c340452a54ac8e001667fe133984cfd2fc618a38 100644 (file)
@@ -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