Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CONFIGURE: Generate html README and NEWS by default on macOS
There was already a configure option to specify a output format other than plain text, but this had to be specified explicitely when executing configure. Now the ports can define a default other than plain text. On macOS now by default pandoc generate html output. It could in theory also generate rtf, but those are not properly displayed by TextEdit, and in addition TextEdit cannot handle link internal to the document (such as for the TOC). But if we are fine with no link for the TOC, we could pipe the pandoc html output with textutil to generate the RTF documents. Also this change allows to have an extension for the pandoc output files. By default this is empty for plain text (as before) and the same as the format otherwise (for example .rtf or .html).
- Loading branch information
Showing
3 changed files
with
32 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,9 @@ lib*.a | |
/scummvm-conf.cpp | ||
/tmp_*.cpp | ||
/README | ||
/README.html | ||
/NEWS | ||
/NEWS.html | ||
|
||
/build | ||
/staging | ||
|
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