Le 14/08/2015 02:25, Chris Lamb a écrit : > While working on the "reproducible builds" effort [1], we have noticed > that ocamldoc always generates manpages with the current date. > > The attached patch adds a -man-date argument to ocamldoc to accept any > arbitrary string.
This is the same as #794586, but the exposed interface is different (#794586 uses the SOURCE_DATE_EPOCH environment variable for passing the date). > An alternative would be to accept a UNIX timestamp and then format that > but a patch for that would be more invasive. The UNIX manpage format > accepts mostly any value here anyway, so this isn't too restrictive. Why do you say it would be more intrusive? It seems to me that the patch from #794586 does that and is not so more intrusive... I've already applied the patch from #794586 (and uploaded it to experimental yesterday). Both patches could be applied, but is this -man-date really needed if we already have SOURCE_DATE_EPOCH? Cheers, -- Stéphane