scaffolding for patching the SRD

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
This commit is contained in:
2025-04-03 23:52:40 -05:00
parent 599d6f0c49
commit 3dd2bf61a3
4 changed files with 19 additions and 0 deletions

8
Makefile Normal file
View File

@@ -0,0 +1,8 @@
all:
mkdir -p ./_tmp
pandoc -f docx -t markdown ./srd/Cypher-System-Reference-Document-2024-09-26.docx -o ./_tmp/csrd.md --columns 120
cp -a ./_tmp/csrd.md ./_tmp/ccsrd.md
find patches/base -type f -name *.patch -print0 | xargs -0 -n 1 patch ./_tmp/ccsrd.md
clean:
rm -rf ./_tmp