finance: add info, donation links
This commit is contained in:
10
Makefile
10
Makefile
@@ -10,19 +10,21 @@ clean:
|
||||
|
||||
PANDOC?=pandoc
|
||||
|
||||
# regenerate finance.md from finance/*
|
||||
# regenerate part of finance.md from finance/*
|
||||
finance-md:
|
||||
sed '/<!-- Generated/q' <src/finance.md >src/finance.md.tmp
|
||||
( \
|
||||
echo 'Finances of the Plain Text Accounting org.'; \
|
||||
echo '<!-- Generated by "make finance-md", do not edit directly. -->'; \
|
||||
echo ; \
|
||||
hledger -f finance/pta.journal bs -O html; \
|
||||
echo ; \
|
||||
echo ; \
|
||||
hledger -f finance/pta.journal is -O html; \
|
||||
echo ; \
|
||||
echo ; \
|
||||
echo '## General Journal'; \
|
||||
echo '```hledger'; hledger -f finance/pta.journal print -x; echo '```'; \
|
||||
) >src/finance.md
|
||||
) >>src/finance.md.tmp
|
||||
mv src/finance.md.tmp src/finance.md
|
||||
|
||||
# temporary workaround for cloudflare pages (pandoc is too old in V1, missing in V2)
|
||||
html-cfp:
|
||||
|
||||
Reference in New Issue
Block a user