mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
remove RAW-NOTES
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11853 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
2dca39c0e9
commit
7add4d3c08
@ -39,7 +39,7 @@ EXTRA_DIST = \
|
|||||||
## the sed substitutions.
|
## the sed substitutions.
|
||||||
gnc-prices.1: gnc-prices.1.in
|
gnc-prices.1: gnc-prices.1.in
|
||||||
rm -f $@.tmp
|
rm -f $@.tmp
|
||||||
sed < $< > $@.tmp \
|
${SED} < $< > $@.tmp \
|
||||||
-e 's:@-VERSION-@:${VERSION}:g' \
|
-e 's:@-VERSION-@:${VERSION}:g' \
|
||||||
-e 's:@-DATE-@:$(shell date +'%B %Y'):g'
|
-e 's:@-DATE-@:$(shell date +'%B %Y'):g'
|
||||||
chmod +x $@.tmp
|
chmod +x $@.tmp
|
||||||
@ -47,7 +47,7 @@ gnc-prices.1: gnc-prices.1.in
|
|||||||
|
|
||||||
gnucash.1: gnucash.1.in
|
gnucash.1: gnucash.1.in
|
||||||
rm -f $@.tmp
|
rm -f $@.tmp
|
||||||
sed < $< > $@.tmp \
|
${SED} < $< > $@.tmp \
|
||||||
-e 's:@-VERSION-@:${VERSION}:g' \
|
-e 's:@-VERSION-@:${VERSION}:g' \
|
||||||
-e 's:@-DATE-@:$(shell date +'%B %Y'):g'
|
-e 's:@-DATE-@:$(shell date +'%B %Y'):g'
|
||||||
chmod +x $@.tmp
|
chmod +x $@.tmp
|
||||||
@ -55,7 +55,7 @@ gnucash.1: gnucash.1.in
|
|||||||
|
|
||||||
tip_of_the_day.list: tip_of_the_day.list.in
|
tip_of_the_day.list: tip_of_the_day.list.in
|
||||||
gcc -E -P -x c -D'N_(x)=x' -o $@.tmp $<
|
gcc -E -P -x c -D'N_(x)=x' -o $@.tmp $<
|
||||||
cat -s $@.tmp | sed -e 's/^ *\"\(.*\)\" *$$/\1/m' > $@
|
cat -s $@.tmp | ${SED} -e 's/^ *\"\(.*\)\" *$$/\1/m' > $@
|
||||||
rm -f $@.tmp
|
rm -f $@.tmp
|
||||||
|
|
||||||
DISTCLEANFILES = gnc-prices.1 gnucash.1 tip_of_the_day.list
|
DISTCLEANFILES = gnc-prices.1 gnucash.1 tip_of_the_day.list
|
||||||
|
@ -1,82 +0,0 @@
|
|||||||
/** \page rawnotes Miscellaneous Notes.
|
|
||||||
|
|
||||||
\section stock splits & cost basis
|
|
||||||
|
|
||||||
OK, here's a question for accountants of various different countries:
|
|
||||||
What's the cost basis for a stock split? Does the rest of the world do
|
|
||||||
it the way the US does it?
|
|
||||||
|
|
||||||
For example:
|
|
||||||
In Jan 1995 buy 100s stock for $10 per share
|
|
||||||
In July 1997 split 2-for-1
|
|
||||||
In August 1997, sell 120s stock for $30 per share
|
|
||||||
|
|
||||||
I believe the following is correct for the united states:
|
|
||||||
My cost basis is $5 per share, and my gains of $25x120 are taxable
|
|
||||||
as long-term cap gains.
|
|
||||||
|
|
||||||
--- would there ever be a case where the cost basis should be $10 for
|
|
||||||
the first 100 shares, and $0 for the remainder?
|
|
||||||
--- would there ever be a case where the gains would be considered
|
|
||||||
'short-term' for some portion of the total?
|
|
||||||
|
|
||||||
\subsection Spin off stocks.
|
|
||||||
|
|
||||||
OK, that was easy. Here's the harder one: a spin-off:
|
|
||||||
|
|
||||||
For example:
|
|
||||||
In Jan 1995 buy 100s of stock A for $10 per share
|
|
||||||
In July 1997 receive 1s of stock B for every 20s of stock A.
|
|
||||||
Stock B is new, and will trade under its own new ticker symbol
|
|
||||||
as of the date of this split.
|
|
||||||
|
|
||||||
-- What's my cost basis for B? is it $0.000 ?
|
|
||||||
-- What's my cost basis for A? is it $10, or something else?
|
|
||||||
-- Are these questions supposed to be answered by company A,
|
|
||||||
or do I just 'guess'?
|
|
||||||
|
|
||||||
Note there is still an invarient:
|
|
||||||
(old price of A) * 20s == (new price of A) *20s + (price of B) * 1s
|
|
||||||
|
|
||||||
\section Depreciation, Sinking Funds ...
|
|
||||||
|
|
||||||
On 21 Apr 2000 20:39:43 CDT, the world broke into rejoicing as
|
|
||||||
John Hasler <john@dhh.gt.org> said:
|
|
||||||
\verbatim
|
|
||||||
> Lauren writes:
|
|
||||||
> > I'm not familliar with sinking funds, but what makes them a bit different
|
|
||||||
> > from a book entry like depreciation (also somewhat virtual) is that they
|
|
||||||
> > are happening with real accounts that need to be reconciled against an
|
|
||||||
> > outside statement.
|
|
||||||
>
|
|
||||||
> I don't see that. While the purpose of a sinking fund may be to pay off
|
|
||||||
> some bonds in ten years and there may even exist a legal obligation to have
|
|
||||||
> it, the funds being transferred to it now have nothing to do with any
|
|
||||||
> outside statement.
|
|
||||||
>
|
|
||||||
> A sinking fund to pay off some bonds is pretty much the same thing as
|
|
||||||
> saving up to pay off the balloon payment on the morgage.
|
|
||||||
>
|
|
||||||
> When you transfer funds to your "Savings Goal" or your "Sinking Fund" you
|
|
||||||
> are transferring funds from one asset account to another. Just credit
|
|
||||||
> 'Cash' and debit 'Savings Goals:Honeymoon'.
|
|
||||||
\endvarbatim
|
|
||||||
|
|
||||||
The problem with proceeding to credit Cash and debit "Savings Goal" is
|
|
||||||
that this invalidates any reconciliation of Cash. I'd be game to do
|
|
||||||
this if I credited not Cash, but rather "Cash:Goals", a subaccount of
|
|
||||||
Cash that can be ignored when it needs to be,
|
|
||||||
|
|
||||||
For different purposes, I will want both to consider and ignore these
|
|
||||||
"funds reservations."
|
|
||||||
|
|
||||||
- When making up a <b>budget</b>, I care about what funds are reserved for
|
|
||||||
particular purposes.
|
|
||||||
|
|
||||||
- When trying to figure out if my bank account is going to be
|
|
||||||
overdrawn, "reserved" funds are <b>irrelevant.</b>
|
|
||||||
|
|
||||||
I would thus suggest that the "gentle user" use the budget system to
|
|
||||||
manage this rather than having these be "true" transactions in the
|
|
||||||
ledger.
|
|
||||||
*/
|
|
@ -14,7 +14,8 @@ possible, if you make a mistake when working on the Makefile.am's to
|
|||||||
leave yourself in a situation where automake won't work because a
|
leave yourself in a situation where automake won't work because a
|
||||||
Makefile is broken. To fix this, just run:
|
Makefile is broken. To fix this, just run:
|
||||||
|
|
||||||
./autogen.sh <your usual arguments to ./configure>
|
./autogen.sh
|
||||||
|
./configure <your usual options>
|
||||||
|
|
||||||
That should sledgehammer the problem bit back into place.
|
That should sledgehammer the problem bit back into place.
|
||||||
|
|
||||||
@ -57,6 +58,10 @@ according to the following rule:
|
|||||||
This approach guarantees that the variables referred to will be
|
This approach guarantees that the variables referred to will be
|
||||||
properly expanded at the right times.
|
properly expanded at the right times.
|
||||||
|
|
||||||
|
Note that on OSX, you MUST have the GNU version of sed installed
|
||||||
|
via fink - the BSD version installed by default will not work with
|
||||||
|
some of the substitution operators used in the gnucash build.
|
||||||
|
|
||||||
The only non-Makefiles files that must be handled directly by
|
The only non-Makefiles files that must be handled directly by
|
||||||
AC_OUTPUT are files that refer to variables that, when expanded, may
|
AC_OUTPUT are files that refer to variables that, when expanded, may
|
||||||
have makefile-hostile characters like '#' in them like
|
have makefile-hostile characters like '#' in them like
|
||||||
|
Loading…
Reference in New Issue
Block a user