2007-02-11 02:25:48 +03:00
|
|
|
build: Tags
|
2007-03-10 06:03:30 +03:00
|
|
|
ghc --make hledger.hs
|
2007-02-09 06:17:18 +03:00
|
|
|
|
2007-02-21 12:21: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
|
|
|
|
|
2007-03-10 05:07:11 +03:00
|
|
|
overview:
|
2007-03-10 02:21:49 +03:00
|
|
|
runhaskell ./overview.hs >.ovtmp; mv .ovtmp OVERVIEW
|
|
|
|
|
|
|
|
loc:
|
|
|
|
@darcs trackdown 'find . -name "*hs" |xargs wc -l |echo OUTPUT `tail -1`; false' |ruby -nae'puts $$F[1] if /^OUTPUT/'
|
2007-02-21 12:21:18 +03:00
|
|
|
|
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-03-10 02:21:49 +03:00
|
|
|
rm -f hledger overview TAGS tags
|