Hi, Russ Allbery: > build that uses the pre-made *.c file. Not ideal, and I'm in the camp of > wanting to regenerate all such files during the build, but historically > we've allowed such packages. > The problem is: we ship the source not just because the DFSG/Policy/ /whatever says we have to, but because we want to give the user certain freedoms, not take them away. One of them is the ability to modify the source code. To me, a strong corollary to that is that building the package from the modified source actually _works_ without forcing the user to go through additional hoops – Build-depends: should suffice – which sortof implies that building from the original source also works, which means that it's a good idea for the build to actually test that path.
So, yeah, my position is that "debian/rules clean" should remove these generated files. At minimum, if it does not, then the real source needs a "if you change this, you need to run 'make realclean'" comment on top. This implies that the Makefile / debian/rules files, as shipped, contain the code required to rebuild any intermediaries. I would file a bug if I encounter a package which doesn't. -- -- Matthias Urlichs -- To UNSUBSCRIBE, email to debian-policy-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20141019074341.ga24...@smurf.noris.de