feat: extract pdf from mp/pdf — initial libreshop/pdf
Some checks failed
Build and publish / build (push) Failing after 17s
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:
15
makefile
Normal file
15
makefile
Normal 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/*
|
||||
|
||||
Reference in New Issue
Block a user