]> git.phdru.name Git - m_librarian.git/blob - m_librarian/web/views/Makefile
Fix(web): Replace compyle with `python -m compile`
[m_librarian.git] / m_librarian / web / views / Makefile
1 .SUFFIXES: # Clear the suffix list
2 .SUFFIXES: .py .tmpl .html
3
4
5 %.py: %.tmpl
6         cheetah compile --nobackup $<
7         python    -m compile $@
8         python -O -m compile $@
9
10
11 templates = $(shell echo *.tmpl)
12 modules = $(patsubst %.tmpl,%.py,$(templates))
13
14
15 .PHONY: all
16 all: $(modules)