make clean cleans too much in doc and removes all *.gp and *.png files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Enblend |
In Progress
|
Low
|
Christoph Spiel |
Bug Description
For source code enblend-enfuse, doing a make clean from the top level directory (and also from the doc directory its-self) causes the deletion of all *.gp files
rm -f *.eps *.png *.pstex *.gp
However these .gp files are not dynamically created and their presence (coming from the source archive) is needed to build the documentation.
./docstrings key-value \
UPDATED '2016-03-
VERSION '4.2' \
DOCDIR '/usr/local/
make[3]: *** No rule to make target 'colors.gp', needed by 'log-transform.gp'. Stop.
make[3]: Leaving directory '/usr/src/
Makefile:580: recipe for target 'all-recursive' failed
Not tested, but I suspect that the *.png should not be deleted either, since these are also only supplied from the unpacked source archive.
--- Makefile.am.ORIG 2017-03-11 21:38:33.947959712 +0100
+++ Makefile.am 2017-03-11 21:38:33.947959712 +0100
@@ -111,7 +111,7 @@
.PHONY: clean-local
clean-local:
- - rm -f *.eps *.png *.pstex
+ - rm -f *.eps *.pstex
- rm -f *.{g,o,p,a}nd *.{g,o,p,a}dx
- rm -f *.idx *.ilg *.ind *.lo{a,f,t,x} *.toc
- rm -f *.aux *.log *.dvi *.ps *.pdf
Please check out revision ba3e20d0947b: hg.code. sf.net/ p/enblend/ code/rev/ ba3e20d0947b
http://
whether it solves the problem and the bug
description is accurate enough.
THX for supplying a patch!
/cls