Alexis Hildebrandt
97ee2d23d0
[doc] Use Ledger_VERSION_* make variables for version
...
[ci skip]
2015-01-20 11:02:56 +01:00
Martin Michlmayr
6b2520cc49
BUILD_WEB_DOCS implies BUILD_DOCS
...
This fixes the build when -DBUILD_WEB_DOCS=1 is specified wihout
specifying -DBUILD_DOCS. This fails because man2html/groff are
not found because the find_program command for these programs
is only run if BUILD_DOCS is enabled.
2014-10-12 18:20:54 -04:00
Johann Klähn
d9d4876755
reduce number of warning messages when building docs
...
Warnings were emitted for every info file (twice) instead of once.
2014-09-10 00:40:36 +02:00
Johann Klähn
2860b68bc2
clean up installation of doc files
2014-09-10 00:40:36 +02:00
Johann Klähn
9f1d7015cf
install man page even if BUILD_DOCS isn't set
...
The man page is useful and does not need additional software to be installed.
2014-09-10 00:40:36 +02:00
Martin Michlmayr
2cee0fe23f
Cosmetic change - format code consistently
...
Add a space between if and the opening bracket, between a closing
round bracket and the following opening curly bracket, etc.
2014-05-18 09:51:32 -04:00
Johann Klähn
d13d17f350
fix typo
2014-05-10 15:50:28 +02:00
Alexis Hildebrandt
dcb285ac55
Improve installation of documentation files
...
- Install info version of ledger documentation instead of the original
texinfo sources
- Install html version of ledger documentation when BUILD_WEB_DOCS is ON
- Enable installation of documentation files from --output directory
2014-05-05 06:46:01 +02:00
Alexis Hildebrandt
851dea238a
Check for required TeX when building pdf documentation
2014-05-05 06:45:42 +02:00
Alexis Hildebrandt
87bcfee8fd
Build info version of documentation
2014-05-04 01:14:39 +02:00
Alexis Hildebrandt
c933e78599
doc: add BUILD_A4_PDF cmake variable
...
to create a DIN A4 paper version of the ledger pdf.
2014-04-27 11:11:40 +02:00
Alexis Hildebrandt
e167cbb647
doc: try to use groff if man2html is not found
...
to generate a html version of the manpage,
throw a fatal error otherwise.
2014-04-27 11:11:40 +02:00
Johann Klähn
de5cc27914
install texinfo files
2013-10-23 22:14:25 +02:00
Simon Michael
2b0aa798f1
delete obsolete ledger.texi. Down with cruft!
2013-09-21 12:02:47 -07:00
Craig Earls
d8acba2c3f
Add ledger-mode.texi to the build list
2013-02-27 19:21:19 -07:00
Craig Earls
94ce2f0fdb
Fixed typo in doc/CMakeLists.txt line 58 "mesage" ==> "message"
2013-02-25 12:38:53 -07:00
Johann Klähn
383c341d88
fix CMake variable expansion for man2html
2013-01-29 23:31:39 +01:00
Johann Klähn
de128c9481
do not auto-build documentation
...
Use 'ninja doc' or 'make doc' instead.
2013-01-19 23:27:08 +01:00
Johann Klähn
54c14f9770
improve doxygen build logic
...
Doxygen will only be called when the 'doc' target is built
and one of its input files has changed.
2013-01-19 23:05:17 +01:00
Johann Klähn
252bc9bcf5
only run doxygen once
...
To update the documentation run `ninja doxygen` or `make doxygen`.
2013-01-19 13:22:59 +01:00
John Wiegley
23483b7973
On the Mac, texi2pdf doesn't have a --tidy option
2013-01-16 17:40:39 -06:00
Johann Klähn
b13f0c33c3
repair doxygen support
2013-01-14 23:39:34 +01:00
Johann Klähn
dd105fecd7
fix issue for separate build dir
2013-01-14 22:59:35 +01:00
Johann Klähn
c88862fd66
convert doc/Makefile to CMake
...
CMake will build the pdf version of the manual if texi2pdf is installed.
It will be installed to DOCDIR/ledger{,3}.pdf, for example
/usr/local/share/ledger/ledger3.pdf.
Also, the man page will be installed to MANDIR/man1/ledger.1
The option BUILD_DOCS is now on by default.
A new option BUILD_WEB_DOCS is used to toggle the generation
of the html version of the manual and the man page (off by default).
All this is added to the 'doc' make target.
2013-01-14 21:35:26 +01:00
John Wiegley
4681e58d7f
Converted the Ledger build system to use CMake
2012-05-20 04:48:05 -05:00