Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							c70ba1a979 
							
						 
					 
					
						
						
							
							tools: fix web dev build  
						
						
						
					 
					
						2012-11-19 23:18:22 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							79f0e98186 
							
						 
					 
					
						
						
							
							tools: fix haddock generation (web excluded)  
						
						
						
					 
					
						2012-11-19 23:36:36 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							93978fcf81 
							
						 
					 
					
						
						
							
							tools: web dev build fixes  
						
						
						
					 
					
						2012-11-23 20:49:17 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							300ef7c536 
							
						 
					 
					
						
						
							
							tools: web dev build uses RecordWildCards  
						
						
						
					 
					
						2012-11-20 02:25:14 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							7d92fa6a7f 
							
						 
					 
					
						
						
							
							tools: fix manual version number setting  
						
						
						
					 
					
						2012-11-24 15:59:42 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							2addc934fc 
							
						 
					 
					
						
						
							
							tools: add more web source files  
						
						
						
					 
					
						2012-11-17 01:26:08 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							92ea44dcb8 
							
						 
					 
					
						
						
							
							tools: update web building rules  
						
						
						
					 
					
						2012-11-16 18:49:00 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							af03481385 
							
						 
					 
					
						
						
							
							tools: more sample journals  
						
						
						
					 
					
						2012-10-13 19:47:39 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							3fe66ab6ec 
							
						 
					 
					
						
						
							
							tools: more makefile cleanups, drop --make  
						
						
						
					 
					
						2012-10-21 21:22:27 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							4752726585 
							
						 
					 
					
						
						
							
							tools: rename hledgerp to hledgerprof  
						
						
						
					 
					
						2012-10-21 21:24:06 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							97a8ed23df 
							
						 
					 
					
						
						
							
							tools: makefile updates & cleanups  
						
						
						
					 
					
						2012-10-21 21:09:24 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e701c2b1cb 
							
						 
					 
					
						
						
							
							tools: rsync refactor  
						
						
						
					 
					
						2012-09-28 17:35:07 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							2b8d759db1 
							
						 
					 
					
						
						
							
							rename developer build to hledgerdev, avoiding confusion with production hledger  
						
						
						
					 
					
						2012-10-21 18:23:23 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							3e28f6001f 
							
						 
					 
					
						
						
							
							tools: more top-level build fixes; remove chart/vty rules  
						
						
						
					 
					
						2012-10-13 19:47:16 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							f03b020e2f 
							
						 
					 
					
						
						
							
							set version with CPP instead of cabal-file-th; make building more robust  
						
						... 
						
						
						
						hledger and hledger-web were reading their version number (and program
name) from their cabal files at compile time using cabal-file-th,
which allowed the version number be maintained in one place (per
package).
This meant you had to be in same directory as the cabal file when
building, which made life more complicated, eg emacs compilation mode
could not jump to errors. Also, it slowed down building slightly, and
is a factor in hledger Debian packages being unavailable on a number
of platforms (we also use TH for report templates).
Now, the build version is set with a CPP VERSION flag, which seems
simpler overall. For cabal builds, this needs to be configured
manually in a few more places in each cabal file. For makefile builds,
it is set it to the name of the most recent darcs tag (which should be
more useful than the old behaviour). If not set, it defaults to the
blank string, useful eg for haddock. And, all makefile builds now run
from the top directory. 
						
					 
					
						2012-10-13 19:21:17 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							257732bf43 
							
						 
					 
					
						
						
							
							tools: build rule updates  
						
						
						
					 
					
						2012-10-08 16:52:49 +00:00 
						 
				 
			
				
					
						
							
							
								Sergei Trofimovich 
							
						 
					 
					
						
						
						
						
							
						
						
							a433910a60 
							
						 
					 
					
						
						
							
							Makefile: allow passing arbitrary HCFLAGS as ghc options  
						
						... 
						
						
						
						It is handly to check things inplace:
hledger $ make
cd hledger; ghc --make hledger-cli.hs -o ../bin/hledger -DMAKE -W -fwarn-tabs -fno-warn-name-shadowing  -i../hledger-lib -i../hledger -i../hledger-web  -L/usr/lib -DPATCHLEVEL=0 +RTS -M200m -RTS
../hledger-lib/Hledger/Utils.hs:30:8:
    Ambiguous module name `Control.Monad.Error':
      it was found in multiple packages: mtl-2.1.2 monads-fd-0.1.0.4
make: *** [bin/hledger] Error 1
hledger $ make HCFLAGS="-hide-package monads-fd"
<all ok> 
						
					 
					
						2012-08-21 07:17:24 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							577981367b 
							
						 
					 
					
						
						
							
							tools: version fix  
						
						
						
					 
					
						2012-10-21 22:23:06 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							6704d3ae0e 
							
						 
					 
					
						
						
							
							tools: include docs in tags  
						
						
						
					 
					
						2012-03-11 18:39:26 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							08bb23bcfc 
							
						 
					 
					
						
						
							
							site: more dev doc fixes  
						
						
						
					 
					
						2012-03-11 20:16:45 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							95916e1f60 
							
						 
					 
					
						
						
							
							tools: view framed haddock by default  
						
						
						
					 
					
						2012-03-29 23:38:36 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							396f8cfa9b 
							
						 
					 
					
						
						
							
							tools: drop old PRODUCTION flag  
						
						
						
					 
					
						2012-04-03 17:25:24 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							a55046b4d6 
							
						 
					 
					
						
						
							
							tools: make autotest-PAT to auto-compile & run only tests matching PAT  
						
						
						
					 
					
						2012-05-27 18:15:36 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							130909c473 
							
						 
					 
					
						
						
							
							tools: makefile updates  
						
						
						
					 
					
						2012-05-14 19:24:03 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							8cbfad7e20 
							
						 
					 
					
						
						
							
							tools: allow auto build & test with older GHC versions  
						
						
						
					 
					
						2012-05-06 20:39:47 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							acc5139c54 
							
						 
					 
					
						
						
							
							tools: makefile updates  
						
						
						
					 
					
						2012-04-03 17:12:47 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							f595c2ceed 
							
						 
					 
					
						
						
							
							tools: makefile updates  
						
						
						
					 
					
						2012-03-05 07:23:35 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e12e8c0c0f 
							
						 
					 
					
						
						
							
							tools: make quite sure auto builds as quickly as possible  
						
						
						
					 
					
						2012-03-11 18:41:24 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							f923789003 
							
						 
					 
					
						
						
							
							remove 6.12.3 from make rule  
						
						
						
					 
					
						2012-05-29 00:53:52 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							7bf4f2b747 
							
						 
					 
					
						
						
							
							tools: makefile updates  
						
						
						
					 
					
						2012-03-29 20:41:47 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							88f5eaa03c 
							
						 
					 
					
						
						
							
							tools: make tweaks, use a known-good version of shelltest  
						
						
						
					 
					
						2012-03-28 18:16:46 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e093431b4d 
							
						 
					 
					
						
						
							
							tools: easier building and testing with multiple GHC versions  
						
						
						
					 
					
						2012-03-26 18:18:18 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							7f3b990394 
							
						 
					 
					
						
						
							
							docs: fix api docs  
						
						
						
					 
					
						2012-03-07 16:05:04 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							51504e5711 
							
						 
					 
					
						
						
							
							NOTES -> NOTES.org  
						
						
						
					 
					
						2012-02-23 14:47:10 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							471293c0d7 
							
						 
					 
					
						
						
							
							tools: fix make ghci  
						
						
						
					 
					
						2012-01-04 12:01:21 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							795d85f36e 
							
						 
					 
					
						
						
							
							tools: update/simplify make install  
						
						
						
					 
					
						2012-01-29 18:36:51 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							4d4e6355b5 
							
						 
					 
					
						
						
							
							tools: fix make clean  
						
						
						
					 
					
						2012-01-30 04:30:41 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							2f9669c248 
							
						 
					 
					
						
						
							
							tools: make clean should not remove virthualenv files  
						
						
						
					 
					
						2012-01-29 18:52:31 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							679c9fce8f 
							
						 
					 
					
						
						
							
							begin demoting hledger-vty and hledger-chart to unmaintained "extras" status  
						
						
						
					 
					
						2012-01-30 04:22:11 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							b151eef2b7 
							
						 
					 
					
						
						
							
							tools: fixes for version updating in web pages  
						
						
						
					 
					
						2012-01-31 05:17:15 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							c686645fab 
							
						 
					 
					
						
						
							
							refactor: update version number handling  
						
						
						
					 
					
						2012-01-31 06:01:31 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							df7fc8877f 
							
						 
					 
					
						
						
							
							tools: adapt makefile for cabal-file-th, builds now happen from package dirs  
						
						
						
					 
					
						2011-10-19 19:55:01 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							aa30f25887 
							
						 
					 
					
						
						
							
							tools: one more make fix  
						
						
						
					 
					
						2011-10-19 20:00:08 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							5bd0dcc113 
							
						 
					 
					
						
						
							
							tools: update web file paths  
						
						
						
					 
					
						2011-09-12 22:45:02 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							f2ce07145f 
							
						 
					 
					
						
						
							
							tools: hledger-web-production build  
						
						
						
					 
					
						2011-09-13 00:10:00 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							48db255444 
							
						 
					 
					
						
						
							
							tools: hakyll.hs -> site.hs to keep it working on mac  
						
						
						
					 
					
						2011-09-22 22:24:02 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							7e753e13b5 
							
						 
					 
					
						
						
							
							tools: dayssincerelease.hs -> dayssincetag.hs  
						
						
						
					 
					
						2011-09-25 18:29:23 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							7768efd0b5 
							
						 
					 
					
						
						
							
							tools: wine reminder  
						
						
						
					 
					
						2011-09-26 20:51:09 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							8cb9774d2a 
							
						 
					 
					
						
						
							
							docs: fix wrong version  
						
						
						
					 
					
						2011-09-02 15:17:22 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							fcaa62d931 
							
						 
					 
					
						
						
							
							tools: set-up-rc-repo make rule  
						
						
						
					 
					
						2011-04-22 23:05:54 +00:00