No description
Find a file
2008-04-13 03:39:09 -04:00
contrib Rearranged the sources a bit. 2008-04-13 03:38:33 -04:00
docs Moved files around 2008-04-13 03:39:06 -04:00
gdtoa Removed .gitignore files. 2008-04-13 03:38:49 -04:00
lisp Rearranged the sources a bit. 2008-04-13 03:38:33 -04:00
scripts Changed bang path. 2008-04-13 03:38:27 -04:00
src Added polymorphic == and < operators. 2008-04-13 03:39:09 -04:00
tests Changed all uses of scope_t * to scope_t& 2008-04-13 03:38:53 -04:00
acprep Added boost-1_34 header (since MacPorts now has it) 2008-04-13 03:39:09 -04:00
amounts.cc (read_binary_journal): Fixed a tiny memory leak when reading from a 2008-04-13 02:41:28 -04:00
AUTHORS Miscellaneous changes 2008-04-13 03:35:34 -04:00
buildbot.cfg r391@user1022: johnw | 2007-06-08 11:39:47 -0400 2008-04-13 03:39:08 -04:00
config.cc Made separate modules for the csv command, since the prior method was 2008-04-13 02:41:33 -04:00
config.h Made separate modules for the csv command, since the prior method was 2008-04-13 02:41:33 -04:00
configure.in Whitespace cleanup. 2008-04-13 03:39:06 -04:00
COPYING Added a reference to gdtoa, for doing expected conversion of double to amount. 2008-04-13 03:35:33 -04:00
LICENSE Miscellaneous changes 2008-04-13 03:35:31 -04:00
Makefile.am r381@user1022: johnw | 2007-06-01 15:56:56 -0400 2008-04-13 03:39:08 -04:00
NEWS r377@user1022: johnw | 2007-06-01 04:45:41 -0400 2008-04-13 03:39:08 -04:00
README Made the amount/balance/value interface a bit more rational; added 2008-04-13 03:38:28 -04:00
setup.py Getting things to compile again. 2008-04-13 03:39:07 -04:00
startup.cc Added a DATETIME value type. 2008-04-13 02:41:29 -04:00
test.py Added much better error location. 2008-04-13 02:41:29 -04:00
valexpr.cc *** empty log message *** 2008-04-13 02:41:32 -04:00
valexpr.h *** empty log message *** 2008-04-13 02:41:32 -04:00
valgrind.sh Merge branch 'master' of /Users/johnw/src/ledger/master/ 2008-04-13 03:38:42 -04:00
walk.cc Reworked the way date/times are handled. 2008-04-13 02:41:32 -04:00
walk.h Reworked the way date/times are handled. 2008-04-13 02:41:32 -04:00

			  Welcome to Ledger

		 the command-line accounting program

Introduction
============

Ledger is an accounting program which is invoked from the command-line
using a textual ledger file.  To start using Ledger, you will need to
create such a file containing your financial transactions.  A sample
has been provided in the file "sample.dat".  See the documentation
(ledger.pdf, or ledger.info) for full documentation on creating a
ledger file and using Ledger to generate reports.

Once you have such a file -- you might call it "ledger.dat" -- you can
start looking at balances and account registers using commands like
the following:

  ledger -f ledger.dat balance assets:checking
  ledger -f ledger.dat register expenses:food

This assumes, of course, that like the sample file you use account
names such as "Assets:Checking" and "Expenses:Food".  If you use other
account names, you will need to vary the reporting commands you use
accordingly.


Building
========

To build Ledger, you will need a fairly modern C++ compiler (gcc 2.95
will not work), and at least these libraries installed:

    gmp        GNU multi-precision library
    boost      Boost C++ library

(On some GNU/Linux systems, the packages you need to install are
called "gmp-dev" and "pcre-dev").

If you wish to read Gnucash data files, you will also need two XML
libraries, which may or may not be available in a single package (it
depends on your distribution):

    libexpat, or libxmlparse and libxmltok

Once you have determined where the headers and libraries for the above
packages are installed, run the script "configure", passing those
paths.  If you installed everything under /usr/local, you can probably
just type "./configure".  Otherwise, do this:

    ./configure CPPFLAGS=-I<INCLUDE-PATH>  LDFLAGS=-L<LIBRARY-PATH>

If you need to specify multiple include or library paths, then do
this:

    ./configure CPPFLAGS="-I<PATH1> -I<PATH2>"  LDFLAGS="-L<PATH1> -L<PATH2>"

Once configure is done running, just type:

    make install


Mailing List and IRC
====================

If you need help on how to use Ledger, or run into problems, you can
join the Ledger mailing list at the following Web address:

    https://lists.sourceforge.net/lists/listinfo/ledger-discuss

You can also find help at the #ledger channel on the IRC server
irc.freenode.net.