📄 makefile
字号:
.PHONY: clean install tests buildprefix ?= /usr/localbindir ?= $(prefix)/bindatadir ?= $(prefix)/shareINSTALL = installINSTALL_DATA = $(INSTALL) -m 644build: echo Nothing to buildclean: rm -f {.,bleachbit}/*{pyc,pyo} rm -f dist/bleachbit-*.tar.bz2install: # "binary" mkdir -p $(DESTDIR)$(bindir) ln -f -s ../..$(datadir)/bleachbit/GUI.py $(DESTDIR)$(bindir)/bleachbit # .desktop mkdir -p $(DESTDIR)$(datadir)/applications $(INSTALL_DATA) bleachbit.desktop $(DESTDIR)$(datadir)/applications/ # Python code mkdir -p $(DESTDIR)$(datadir)/bleachbit $(INSTALL_DATA) bleachbit/*.py $(DESTDIR)$(datadir)/bleachbit chmod 0755 $(DESTDIR)$(datadir)/bleachbit/GUI.py cd $(DESTDIR)$(datadir)/bleachbit && \ python -O -c "import compileall; compileall.compile_dir('.')" && \ python -c "import compileall; compileall.compile_dir('.')" # icon mkdir -p $(DESTDIR)$(datadir)/pixmaps $(INSTALL_DATA) bleachbit.png $(DESTDIR)$(datadir)/pixmaps/ # translations make -C po install DESTDIR=$(DESTDIR)tests: cd bleachbit && grep -l unittest *py | xargs -L 1 python
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -