Closed cdwilson closed 6 years ago
Thanks for this PR. make distclean
(see #12) does what you want, but I'd gladly accept another PR to consolidate clean
and distclean
into a single clean
target.
Ahh, thx, I missed that target.
IMHO the current behavior is a bit of a misuse of distclean
...
From https://www.gnu.org/software/automake/manual/html_node/Clean.html#Clean
- Otherwise, if make built it, then clean should delete it.
- If configure built it, then distclean should delete it.
Also, it looks like distclean
doesn't remove the output of make snapshot
.
I share your opinion about clean
vs. distclean
. In fact I don't think the distclean
concept maps well onto this domain. So many tools leaving so many different kinds of turds!
I found that
make clean
was leaving around.fdb_latexmk
and.fls
files. This PR will remove these files whenmake clean
is run.Also, I'm curious why the
.pdf
file itself is not removed as part of themake clean
process? (since it's an artifact of the build)