doxygen2man: Add option to read copyright line from the header file#415
Conversation
7a8761f to
1b8aed9
Compare
|
This change fixed the copyright and then I noticed another embedded date issue: @@ -1,5 +1,5 @@
.\" Automatically generated man page, do not edit
-.TH QBUTIL.H 3 2020-09-07 "LIBQB" "libqb Programmer's Manual"
+.TH QBUTIL.H 3 2035-10-11 "LIBQB" "libqb Programmer's Manual"
.SH NAME |
|
I like the approach, but then please use update-copyright.sh to update all files in the git tree. |
|
Also, I assume that we will need to change knet to use this new feature as well? |
This should help make builds reproducible. I tried various methods of getting the date, using 'git' is no use as it could be run from a tarball, using the file date doesn't work either so this seems a reasonable compromise.
1b8aed9 to
46336fb
Compare
|
@bmwiedemann good point. I'll look into that today. Thanks. |
|
One option is to use $SOURCE_DATE_EPOCH - there are code snippets available, too. |
|
@bmwiedemann OK this addition patch seems to work for me, any chance you could test it on your system please? If it works for you, do you need a new release or are the patches enough for the moment? |
|
commit 4ea13bb made it reproducible in our openSUSE environment where we have |
patches are enough as reproducible-builds is a long-term project and I expect there will be a new release in the next months. |
|
I just copied the code from knet ;-) |
Also add build-aux/update-copyright.sh to keep header file copyright lines up-to-date. All code taken from knet
4ea13bb to
e5db66f
Compare
This should help make builds reproducible.
I tried various methods of getting the date, using 'git' is no use as
it could be run from a tarball, using the file date doesn't work either
so this seems a reasonable compromise.