;examples: debconf: cleanups

This commit is contained in:
Simon Michael 2026-01-09 13:52:58 -10:00
parent 0286068c0f
commit 1ba12c5396
2 changed files with 16 additions and 13 deletions

View File

@ -1,17 +1,17 @@
recent: \
dc25 \
dc24 \
dc25 \
all: \
dc25 \
dc24 \
dc23 \
dc22 \
dc21 \
dc20 \
dc19 \
dc18 \
dc17 \
dc18 \
dc19 \
dc20 \
dc21 \
dc22 \
dc23 \
dc24 \
dc25 \
# make dc-YY - clone the budget directory for this year and make it hledger-readable
dc%:
@ -26,6 +26,9 @@ check-%:
# maintenance
clean:
rm -rf dc*
# make rg-PAT - ripgrep for PAT in ledger,inc,db files in all years
rg-%:
rg -g '*.{ledger,inc,db}' '$*'

View File

@ -4,9 +4,9 @@ DebConf does their accounting with Ledger.
Eg: <https://salsa.debian.org/debconf-team/public/data/dc25/-/tree/main/budget>
Each year has its own repo, and the repos are big.
To clone just the accounting data for a few recent years: `make`
To clone all years, starting 2017: `make all`
Some patches for hledger readability will be applied. (These might need updating from time to time.)
To clone just the accounting data for a few recent years: `make`\
Or to clone all years, starting 2017: `make all`
To check hledger readability: `make check-hledger`
Some patches for hledger readability will be applied; those might need updating from time to time.\
To check hledger readability: `make check-hledger`\
To check ledger readability: `make check-ledger`