tools: fix various docs commands
This commit is contained in:
parent
691c6e99ad
commit
9cb66a2bc0
10
Makefile
10
Makefile
@ -218,14 +218,14 @@ heap: sampleledgers hledgerp
|
|||||||
mv hledgerp.hp profs/$(TIME).hp
|
mv hledgerp.hp profs/$(TIME).hp
|
||||||
(cd profs; rm -f latest.hp; ln -s $(TIME).hp latest.hp; \
|
(cd profs; rm -f latest.hp; ln -s $(TIME).hp latest.hp; \
|
||||||
hp2ps $(TIME).hp; rm -f latest.ps; ln -s $(TIME).ps latest.ps; rm -f *.aux)
|
hp2ps $(TIME).hp; rm -f latest.ps; ln -s $(TIME).ps latest.ps; rm -f *.aux)
|
||||||
$(VIEWPSCMD) profs/latest.ps
|
$(VIEWPS) profs/latest.ps
|
||||||
|
|
||||||
# generate and display a code coverage report
|
# generate and display a code coverage report
|
||||||
coverage: sampleledgers hledgercov
|
coverage: sampleledgers hledgercov
|
||||||
@echo "Generating coverage report with $(COVCMD)"
|
@echo "Generating coverage report with $(COVCMD)"
|
||||||
tools/coverage "markup --destdir=profs/coverage" test
|
tools/coverage "markup --destdir=profs/coverage" test
|
||||||
cd profs/coverage; rm -f index.html; ln -s hpc_index.html index.html
|
cd profs/coverage; rm -f index.html; ln -s hpc_index.html index.html
|
||||||
$(VIEWHTMLCMD) profs/coverage/index.html
|
$(VIEWHTML) profs/coverage/index.html
|
||||||
|
|
||||||
# get a debug prompt
|
# get a debug prompt
|
||||||
ghci:
|
ghci:
|
||||||
@ -288,11 +288,11 @@ codepdf:
|
|||||||
# view all docs and code as pdf
|
# view all docs and code as pdf
|
||||||
PDFS=website/{README,README2,MANUAL,NEWS,CONTRIBUTORS,SCREENSHOTS}.pdf code.pdf
|
PDFS=website/{README,README2,MANUAL,NEWS,CONTRIBUTORS,SCREENSHOTS}.pdf code.pdf
|
||||||
viewall: pdf
|
viewall: pdf
|
||||||
$(VIEWPDFCMD) $(PDFS)
|
$(VIEWPDF) $(PDFS)
|
||||||
|
|
||||||
# print all docs and code for offline reading
|
# print all docs and code for offline reading
|
||||||
printall: pdf
|
printall: pdf
|
||||||
$(PRINTCMD) $(PDFS)
|
$(PRINT) $(PDFS)
|
||||||
|
|
||||||
# push latest docs etc. and update the hledger.org site
|
# push latest docs etc. and update the hledger.org site
|
||||||
site: push
|
site: push
|
||||||
@ -309,7 +309,7 @@ apidocs: haddock hscolour #sourcegraph #hoogle
|
|||||||
|
|
||||||
# generate and view the api docs
|
# generate and view the api docs
|
||||||
viewapidocs: apidocs
|
viewapidocs: apidocs
|
||||||
$(VIEWHTMLCMD) website/api-doc/index.html
|
$(VIEWHTML) website/api-doc/index.html
|
||||||
|
|
||||||
# generate code documentation with haddock
|
# generate code documentation with haddock
|
||||||
# --ignore-all-exports means we are documenting internal implementation, not library api
|
# --ignore-all-exports means we are documenting internal implementation, not library api
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user