📄 makefile
字号:
RELEASE:=$(shell python -c 'import urwid; print urwid.__version__')SOURCE:= bigtext.py browse.py calc.py dialog.py docgen_reference.py \ docgen_tutorial.py edit.py fib.py graph.py input_test.py Makefile \ setup.py test_urwid.py tmpl_tutorial.html tour.py \ urwid/canvas.py urwid/curses_display.py urwid/escape.py urwid/font.py \ urwid/graphics.py urwid/html_fragment.py urwid/__init__.py \ urwid/listbox.py urwid/old_str_util.py urwid/raw_display.py \ urwid/util.py urwid/web_display.py urwid/widget.py \ source/str_util.cDOCS:= reference.html tutorial.htmldist: urwid-$(RELEASE).tar.gz.PHONY: disturwid-$(RELEASE).tar.gz: $(SOURCE) $(DOCS) CHANGELOG tar czvf $@ --transform "s{{urwid-$(RELEASE)/{" $(SOURCE) $(DOCS) \ CHANGELOGreference.html: $(SOURCE) # make sure it runs properly before touching target python docgen_reference.py > $@.incoming mv $@.incoming $@tutorial.html: $(SOURCE) # make sure it runs properly before touching target python docgen_tutorial.py -H > $@.incoming mv $@.incoming $@clean: for fn in *.pyc urwid/*.pyc urwid-*.tar.gz $(DOCS); do \ if [ -e "$$fn" ]; then rm -r "$$fn"; fi \ done.PHONY: clean
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -