overview tool and make rules for profiling, haddock, etc

This commit is contained in:
Simon Michael 2007-02-21 09:21:18 +00:00
parent 3de3e861ee
commit 328d198559

View File

@ -1,6 +1,27 @@
build: Tags
ghc --make hledger.hs
profile:
ghc --make -prof -auto-all hledger.hs
hledger -s bal +RTS -p
T=`date +"%Y%m%d%H%M"`
echo $(T)
mv hledger.prof `date +"%Y%m%d%H%M"`.prof
hledger -s bal +RTS -px
mv hledger.prof `date +"%Y%m%d%H%M"`.xprof
echo $(T)
make xprof
xprof:
ghcprof `ls -t1 *.xprof | head -1`
haddock:
haddock -h -o doc *.hs
update-overview:
runhaskell ./overview.hs >.ov; mv .ov OVERVIEW
# ./overview >.ov; mv .ov OVERVIEW
Tags:
hasktags *hs