[Gnucash-changes] r11853 - gnucash/trunk/doc - remove RAW-NOTES

Neil Williams codehelp at cvs.gnucash.org
Sun Nov 6 08:16:10 EST 2005


Author: codehelp
Date: 2005-11-06 08:16:09 -0500 (Sun, 06 Nov 2005)
New Revision: 11853

Removed:
   gnucash/trunk/doc/RAW-NOTES
Modified:
   gnucash/trunk/doc/Makefile.am
   gnucash/trunk/doc/README.build-system
Log:
remove RAW-NOTES

Modified: gnucash/trunk/doc/Makefile.am
===================================================================
--- gnucash/trunk/doc/Makefile.am	2005-11-06 13:13:50 UTC (rev 11852)
+++ gnucash/trunk/doc/Makefile.am	2005-11-06 13:16:09 UTC (rev 11853)
@@ -39,7 +39,7 @@
 ## the sed substitutions.
 gnc-prices.1: gnc-prices.1.in
 	rm -f $@.tmp
-	sed < $< > $@.tmp \
+	${SED} < $< > $@.tmp \
             -e 's:@-VERSION-@:${VERSION}:g' \
             -e 's:@-DATE-@:$(shell date +'%B %Y'):g'
 	chmod +x $@.tmp
@@ -47,7 +47,7 @@
 
 gnucash.1: gnucash.1.in
 	rm -f $@.tmp
-	sed < $< > $@.tmp \
+	${SED} < $< > $@.tmp \
             -e 's:@-VERSION-@:${VERSION}:g' \
             -e 's:@-DATE-@:$(shell date +'%B %Y'):g'
 	chmod +x $@.tmp
@@ -55,7 +55,7 @@
 
 tip_of_the_day.list: tip_of_the_day.list.in
 	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
 
 DISTCLEANFILES = gnc-prices.1 gnucash.1 tip_of_the_day.list

Deleted: gnucash/trunk/doc/RAW-NOTES
===================================================================
--- gnucash/trunk/doc/RAW-NOTES	2005-11-06 13:13:50 UTC (rev 11852)
+++ gnucash/trunk/doc/RAW-NOTES	2005-11-06 13:16:09 UTC (rev 11853)
@@ -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 at 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.
-*/

Modified: gnucash/trunk/doc/README.build-system
===================================================================
--- gnucash/trunk/doc/README.build-system	2005-11-06 13:13:50 UTC (rev 11852)
+++ gnucash/trunk/doc/README.build-system	2005-11-06 13:16:09 UTC (rev 11853)
@@ -14,7 +14,8 @@
 leave yourself in a situation where automake won't work because a
 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.
 
@@ -57,6 +58,10 @@
 This approach guarantees that the variables referred to will be
 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
 AC_OUTPUT are files that refer to variables that, when expanded, may
 have makefile-hostile characters like '#' in them like



More information about the gnucash-changes mailing list