feat: extract pdf from mp/pdf — initial libreshop/pdf
Some checks failed
Build and publish / build (push) Failing after 17s

Source moved verbatim from mp/pdf/ on 2026-04-29; mp was the first
concrete adapter consuming the libreshop toolkit. Builds and publishes
git.librete.ch/libreshop/pdf on every main / v* push via the standard
.gitea/workflows/build.yml shared across libreshop components.
This commit is contained in:
Michael Czechowski
2026-04-29 17:48:35 +02:00
commit c40bf8f8a5
15 changed files with 798 additions and 0 deletions

15
makefile Normal file
View File

@@ -0,0 +1,15 @@
TEX = pandoc
FLAGS = --pdf-engine=xelatex
# Use the values of src, template, and output passed as arguments
$(output) : $(src)
$(TEX) $(src) -o $@ --template=$(template) $(FLAGS)
.PHONY: clean
clean :
rm -f /app/data/output/*.pdf
.PHONY: cleanall
cleanall : clean
rm -rf /app/data/output/*