]> git.phdru.name Git - m_librarian.git/blob - m_librarian/web/views/Makefile
Feat(web): Use CheetahTemplate
[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 $< && compyle $@
7
8
9 templates = $(shell echo *.tmpl)
10 modules = $(patsubst %.tmpl,%.py,$(templates))
11
12
13 .PHONY: all
14 all: $(modules)