What about adding a debian/clean file?

I do not think that is necessary to fiddle with Files-Excluded in d/copyright. This field is actually useful for building "dfsg" tarballs, which is not the case here.


* Mike Miller <mtmil...@debian.org> [2017-08-04 00:02]:

Source: octave
Version: 4.2.1-2
Severity: normal

In the interest of always rebuilding from the preferred form of the upstream source using the tools and libraries packaged in Debian, several files in the octave source distribution should be rebuilt.

The attached change adds missing Build-Depends. It also adds a hack to d/rules to delete most of the affected files to force them to be built by make as a proof of concept.

There are probably more elegant ways to prune the source distribution, such as the Files-Excluded field of d/copyright (which I don't have any experience with), suggestions welcome.

There are certainly more files that could be properly regenerated at build time, but I think I've covered all files that end up as compiled code.

-- System Information: Debian Release: buster/sid APT prefers testing APT policy: (900, 'testing'), (800, 'unstable') Architecture: amd64 (x86_64)

Kernel: Linux 4.11.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

-- no debconf information

_______________________________________________ Pkg-octave-devel mailing list pkg-octave-de...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-octave-devel

Reply via email to