mirror of
https://gitlab.com/parroquia-san-leandro/cancionero-web.git
synced 2025-04-26 15:16:19 +02:00
Whitelabel songbook websites
This commit is contained in:
parent
bc4e7ed51d
commit
103fb07630
9 changed files with 35 additions and 16 deletions
12
Makefile
12
Makefile
|
@ -5,6 +5,10 @@ ALL_LESS := public/main.css public/index.css public/song.css
|
|||
ALL_TEMPLATES := $(wildcard res/templates/*.html)
|
||||
PY_SRC := $(wildcard src/**.py)
|
||||
|
||||
NAME ?= Cancionero San Leandro
|
||||
AUTHOR ?= 2025 Carlos Galindo, Parroquia San Leandro
|
||||
SLO_LINKS ?= false
|
||||
|
||||
|
||||
all: public public/audios public/index.html static
|
||||
|
||||
|
@ -14,7 +18,13 @@ public:
|
|||
mkdir public
|
||||
|
||||
public/index.html: $(ALL_TEMPLATES) $(PY_SRC)
|
||||
python3 src/latex_scanner.py --latex latex/cancionero.tex --audios audios --other-latex latex/canciones/
|
||||
python3 src/latex_scanner.py \
|
||||
--latex latex/cancionero.tex \
|
||||
--audios audios \
|
||||
--other-latex latex/canciones/ \
|
||||
--title $(NAME) \
|
||||
--author $(AUTHOR) \
|
||||
--links $(SLO_LINKS)
|
||||
|
||||
public/audios: audios public
|
||||
rm -f public/audios
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue