From a21d78e60cba81786c62c93c8938c9566f70dbf0 Mon Sep 17 00:00:00 2001 From: Max Linke Date: Sun, 14 Sep 2014 23:26:40 +0200 Subject: [PATCH 1/3] Update install instruction in manual [ci skip] --- doc/ledger3.texi | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/doc/ledger3.texi b/doc/ledger3.texi index 5306d1f4..9157df99 100644 --- a/doc/ledger3.texi +++ b/doc/ledger3.texi @@ -367,18 +367,25 @@ data, not for altering it. @node Building the program, Getting help, Fat-free Accounting, Introduction to Ledger @section Building the program -Ledger is written in ANSI C++, and should compile on any platform. It -depends on the GNU multiple precision arithmetic library (libgmp), and -the Perl regular expression library (libpcre). It was developed using -GNU make and gcc 3.3, on a PowerBook running OS/X. - -To build and install once you have these libraries on your system, -enter these commands: +Ledger is written in ANSI C++, and should compile on any unix platform. +The easiest way to build and install ledger is to use the prepared +acprep script, that does a lot of the footwork: @smallexample -$ ./configure && make install + # to install missing dependencies + ./acprep dependencies + # building ledger + ./acprep update + # to run the actual installation + make install @end smallexample +Please read the contents of `config.log` if the configure step fails. +Also, see the `help` subcommand to `acprep`, which explains some of its +many options. It's pretty much the only command I run for configuring, +building and testing Ledger. You can run `make check` to confirm the +result, and `make install` to install. + @node Getting help, , Building the program, Introduction to Ledger @section Getting help @findex help From fd69705917c60d3d3ef1c273e861b8dde9049101 Mon Sep 17 00:00:00 2001 From: Max Linke Date: Tue, 30 Sep 2014 10:33:19 +0200 Subject: [PATCH 2/3] Add hint to check README.md for build instructions I also removed some sentences that were useful for older build systems. [ci skip] --- doc/ledger3.texi | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/doc/ledger3.texi b/doc/ledger3.texi index 9157df99..a6059c79 100644 --- a/doc/ledger3.texi +++ b/doc/ledger3.texi @@ -380,11 +380,10 @@ acprep script, that does a lot of the footwork: make install @end smallexample -Please read the contents of `config.log` if the configure step fails. -Also, see the `help` subcommand to `acprep`, which explains some of its -many options. It's pretty much the only command I run for configuring, -building and testing Ledger. You can run `make check` to confirm the -result, and `make install` to install. +See the `help` subcommand to `acprep`, which explains some of its many +options. You can run `make check` to confirm the result, and `make +install` to install. If these intructions do not work for you can check the +`README.md` in the source directory for more up do date build instructions. @node Getting help, , Building the program, Introduction to Ledger @section Getting help From 5f9d4f5bf1304cb5a1bafc6bbdc858767c910c94 Mon Sep 17 00:00:00 2001 From: Max Linke Date: Tue, 20 Jan 2015 15:16:10 +0100 Subject: [PATCH 3/3] Refer to INSTALL.md rather then README.md [ci skip] --- doc/ledger3.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ledger3.texi b/doc/ledger3.texi index a6059c79..f644163d 100644 --- a/doc/ledger3.texi +++ b/doc/ledger3.texi @@ -383,7 +383,7 @@ acprep script, that does a lot of the footwork: See the `help` subcommand to `acprep`, which explains some of its many options. You can run `make check` to confirm the result, and `make install` to install. If these intructions do not work for you can check the -`README.md` in the source directory for more up do date build instructions. +`INSTALL.md` in the source directory for more up do date build instructions. @node Getting help, , Building the program, Introduction to Ledger @section Getting help