mirror of
https://gitlab.com/parroquia-san-leandro/cancionero-web.git
synced 2025-04-26 15:16:19 +02:00
Convert Python templates to django template engine
This commit is contained in:
parent
7f52ff6b6c
commit
fc90400f8f
18 changed files with 225 additions and 196 deletions
5
Makefile
5
Makefile
|
@ -3,6 +3,7 @@
|
|||
ALL_CSS := $(patsubst res/%.less,public/%.css,$(wildcard res/*.less))
|
||||
ALL_JS := $(patsubst res/%.js,public/%.js,$(wildcard res/*.js))
|
||||
ALL_SVG := $(patsubst res/%.svg,public/%.svg,$(wildcard res/*.svg))
|
||||
ALL_TEMPLATES := $(wildcard res/html/*.html)
|
||||
|
||||
all: public/index.html
|
||||
|
||||
|
@ -17,9 +18,7 @@ svg: $(ALL_SVG)
|
|||
public:
|
||||
mkdir public
|
||||
|
||||
public/index.html: static public public/audios \
|
||||
res/index.html res/page.html \
|
||||
res/song.html res/song_li.html res/song_redir.html
|
||||
public/index.html: static public public/audios $(ALL_TEMPLATES)
|
||||
python3 src/latex_scanner.py --latex latex/cancionero.tex --audios audios
|
||||
|
||||
public/audios: audios public
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue