On 04/02/2022 03:41, Steven Rostedt wrote: > On Mon, 24 Jan 2022 11:52:51 +0100 > Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx> wrote: > >> Logical is that `make clean` cleans everything done from build, not only >> parts. Leaving the documentation unclean requires additional step >> when building for example Debian packages: >> >> $ dpkg-buildpackage -us -uc >> ... >> dpkg-source: info: local changes detected, the modified files are: > > The reason we did this is because docs are not made by default. > > (Yes you can say the same about utest, src and samples but those are all > code). > > I've always kept the doc build (and cleanup) separate from the normal build. > > Is it normal to remove the docs in other projects? I don't know actually, but I find natural that clean removes all objects, even ones not created by "make all". I see your point, so I do not insist on this solution. I can fix the incomplete cleaning on Debian package side. Best regards, Krzysztof