start a ledger and a finance page
This commit is contained in:
10
Makefile
10
Makefile
@@ -10,6 +10,16 @@ clean:
|
||||
|
||||
PANDOC?=pandoc
|
||||
|
||||
# help update finance.md from finance/* (manual edits needed)
|
||||
finance-md:
|
||||
( \
|
||||
echo 'Finances of the Plain Text Accounting org.'; \
|
||||
echo '<!-- Generated by "make src/finance.md", do not edit directly. -->'; \
|
||||
echo '```cli'; hledger -f finance/pta.journal bs; echo '```'; \
|
||||
echo '```cli'; hledger -f finance/pta.journal is; echo '```'; \
|
||||
echo '```hledger'; hledger -f finance/pta.journal print -x; echo '```'; \
|
||||
) >src/finance.md
|
||||
|
||||
# temporary workaround for cloudflare pages (pandoc is too old in V1, missing in V2)
|
||||
html-cfp:
|
||||
pandoc --version || ( \
|
||||
|
||||
Reference in New Issue
Block a user