jwiegley / ledger
- Source
- Commits
- Network (14)
- Issues (1)
- Downloads (26)
- Wiki (5)
- Graphs
-
Tree:
a034435
commit a034435c4287aba7fd32ed63a745e560350c924a
tree f0acb080410a32c215c2c1938811cc14d512b580
parent 5ffa987daf4d97c52066e4c28733d826d3726297 parent f0f1b0cdfa3a0a73695eda52b25de71bd40adc5a
tree f0acb080410a32c215c2c1938811cc14d512b580
parent 5ffa987daf4d97c52066e4c28733d826d3726297 parent f0f1b0cdfa3a0a73695eda52b25de71bd40adc5a
ledger / doc
| name | age | message | |
|---|---|---|---|
| .. | |||
| |
Doxyfile | Sat Jan 31 11:43:30 -0800 2009 | |
| |
INSTALL | Thu Aug 07 20:25:42 -0700 2008 | |
| |
LICENSE | Mon Jan 19 21:53:31 -0800 2009 | |
| |
LICENSE-sha1 | Fri Jan 23 15:50:08 -0800 2009 | |
| |
LICENSE-utfcpp | Fri Jan 23 15:50:00 -0800 2009 | |
| |
Ledger.scriv/ | Tue Oct 27 19:30:09 -0700 2009 | |
| |
NEWS | Thu Feb 19 11:03:21 -0800 2009 | |
| |
README | Mon Feb 23 15:07:30 -0800 2009 | |
| |
grammar.y | Mon Feb 23 15:07:30 -0800 2009 | |
| |
ledger.1 | ||
| |
ledger.texi | Mon Feb 23 23:56:27 -0800 2009 | |
| |
sample.dat |
doc/README
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 postings. 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 two libraries installed:
gmp GNU multi-precision library
pcre Perl regular expression library
(On some GNU/Linux systems, the packages you need to install are called
"gmp-dev" and "pcre-dev").
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:
http://groups.google.com/group/ledger-cli
You can also find help at the #ledger channel on the IRC server
irc.freenode.net.

