hledger/Makefile

33 lines
539 B
Makefile
Raw Normal View History

2007-02-11 02:25:48 +03:00
build: Tags
ghc --make hledger.hs
2007-02-09 06:17:18 +03:00
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
2007-02-09 06:32:07 +03:00
Tags:
hasktags *hs
2007-02-09 06:17:18 +03:00
clean:
rm -f *.o *.hi *~
Clean: clean
2007-02-09 06:32:07 +03:00
rm -f hledger TAGS