Source: octave-optics
Version: 0.1.4-4
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
octave-optics could not be built reproducibly.

This was because it shipped a bunch of files generated as a result
of generating the PDF manual, one of which was nondetermistic with
buildpaths and timestamps, etc.

Patch attached that cleans all of the files (even the determistic ones),
but there probably cleaner solutions.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2025-09-10 16:04:28.996521394 -0700
--- b/debian/rules      2025-09-10 17:12:42.141349740 -0700
@@ -6,3 +6,6 @@
 
 execute_after_dh_auto_build:
        (cd doc ; pdflatex zernikes_and_derivatives_cartesian_OSA)
+
+execute_after_dh_auto_install:
+       find debian/octave-optics -type f \( -name "*.aux" -or -name "*.log" 
-or -name "*.out" -or -name "*.tex" -or -name "*.toc" \) -delete

Reply via email to