I had a look at the idea of writing manpages manually (as upstream) and unfortunately saw some difficulties: Because OpenBSD and Linux use different *roff syntax, man vs. mdoc, if I understodd it correctly, generating the man pages in the syntax of the actual operating system would be the most portable way (everyone: correct me if I'm wrong). I don't want to favor Linux or BSD or Windows (just kidding :) in the source tarball.

Defining SOURCE_DATE_EPOCH and using the latest help2man version did _not_ fix the date on my system. Even worse: I'm also using doxygen for the man page of the library, which isn't capable of using SOURCE_DATE_EPOCH anyway. So SOURCE_DATE_EPOCH doesn't seem to be the right direction for me.

I'm thinking of rude stuff now: Patching the manpages after generation with my own script, taking the date based on dpkg-parsechangelog as input. Maybe it's possible with SED.

I can't be the first one facing this issues, right ? Thanks for the excellent feedback so far.

Roelof


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to