hledger/Makefile

35 lines
625 B
Makefile
Raw Normal View History

2007-02-11 02:25:48 +03:00
build: Tags
2007-03-14 04:46:22 +03:00
ghc --make hledger.hs -o hledger
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
2007-03-10 05:07:11 +03:00
overview:
./overview.hs hledger.hs
2007-03-10 02:21:49 +03:00
loc:
@darcs trackdown 'find . -name "*hs" |xargs wc -l |echo OUTPUT `tail -1`; false' |ruby -nae'puts $$F[1] if /^OUTPUT/'
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