-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doxygen2man: Add option to read copyright line from the header file
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.
- Loading branch information
1 parent
d01a9e0
commit 46336fb
Showing
3 changed files
with
56 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
.\" * Author: Christine Caulfield <[email protected]> | ||
.\" * | ||
|
||
.TH "DOXYGEN2MAN" "8" "2020-03-09" "" "" | ||
.TH "DOXYGEN2MAN" "8" "2020-09-09" "" "" | ||
.SH "NAME" | ||
doxygen2man \- A tool to generate man pages from Doxygen XML files | ||
.SH "SYNOPSIS" | ||
|
@@ -69,6 +69,17 @@ Write all man pages to <dir> (default .) | |
.B -d <dir> | ||
Directory for XML files (./xml/) | ||
.TP | ||
.B -c | ||
Use the Copyright line from the header file as the copyright line in the manpage. | ||
This requires that doxygen2man has access to the original .h file (see option -O below) | ||
and that the Copyright line has a defined format. It whould be within the first 10 lines | ||
of the file and start with the text " * Copyright". If this line is not found then | ||
the current year or that given by the -Y option will be used. | ||
.TP | ||
.B -O | ||
Specifies the directory containing the original header files. This is (currently) only | ||
used by the -c option above. | ||
.TP | ||
.B -h | ||
Print usage text | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters