📄 makefile.in
字号:
#### Makefile for Cheetah templates##SHELL = @SHELL@INSTALL = @INSTALL@CHEETAH = @CHEETAH@prefix = @prefix@exec_prefix = @exec_prefix@libdir = @libdir@pythonlibdir = @pythonlibdir@templatedir = ${pythonlibdir}/nav/web/templateswebroot = @webroot@sources = $(wildcard *.tmpl)templates = $(patsubst %.tmpl,%.py, $(sources))backups = $(patsubst %.py,%.py_bak, $(templates)).PHONY: all install install-lib clean distclean printall: $(templates)$(templates): %.py: %.tmpl $(CHEETAH) compile $<print: @echo Sources @echo $(sources) @echo --- @echo Templates @echo $(templates)install: install-libinstall-lib: $(templates) @for file in $(templates); do \ $(INSTALL) -D -v -m 644 $$file $(DESTDIR)/$(templatedir)/$$file || exit 1; \ done touch $(DESTDIR)$(templatedir)/__init__.pyclean: rm -f *~ rm -f $(templates) rm -f $(backups)distclean: clean rm -f Makefile
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -