Many thanks Wookey. However, I searched, moreover with an example (Pelican since a theme is removed from it in this way) but my search never gave me this page. I will have to look carefully at all the pages of the documentation.
You are goldmines of knowledge! Le mar. 11 oct. 2022 à 02:44, Wookey <woo...@wookware.org> a écrit : > On 2022-10-10 23:56 +0200, Sebastien Chavaux wrote: > > Good evening; > > I set build dependency in debian/control file "node-react" and > > "libs-mathjax". For now and to test if the package builds well, I > removed > > the 3rdparty/MathJax/ and 3rdparty/react/ sources. It builds and > works > > well that way. What would be best next, remove those two folders from > > sources, leave them but ignore them, or whatever? How should I do the > > thing? > > Either complies with policy. > > There is nothing wrong with the 3rdparty stuff from a copyright > POV. However, I prefer to remove it as it often makes a dramatically > smaller source package, and avoids accidental regressions (to using > the embedded copy) in later updates. It's good practice to adjust the > version number to show that the tarball has been repacked from what > upstream released. > > Just put 3rdparty into files-excluded: in the debian/copyright file, and > setup up the watch file to repack/rename. > https://wiki.debian.org/Javascript/Repacking > https://wiki.debian.org/UscanEnhancements > > Wookey > -- > Principal hats: Debian, Wookware, ARM > http://wookware.org/ >