hledger/hledger-web/Hledger/Web
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
..
Settings web: update for yesod 1.0 2012-05-29 02:53:33 +00:00
Application.hs web: officially drop GHC 6.12 support, fix build warnings with 7.0, 7.2, 7.4 2012-03-29 23:24:48 +00:00
Foundation.hs web: update for yesod 1.0 2012-05-29 02:53:33 +00:00
Handlers.hs web: fix compilation error with -fblaze_html_0_5 flag 2012-07-08 00:18:39 +00:00
Import.hs web: officially drop GHC 6.12 support, fix build warnings with 7.0, 7.2, 7.4 2012-03-29 23:24:48 +00:00
Options.hs set version with CPP instead of cabal-file-th; make building more robust 2012-10-13 19:21:17 +00:00
Settings.hs web: better hamlet override 2012-04-03 17:53:12 +00:00