summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 83ee1e3d..fb71a72a 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ VERSION = 1.0.4
 PYTHON ?= python
 DOCDIR ?= doc/pydoc
 PREFIX ?= /usr/local
-PYTHONOPTIMIZE ?= 1
+PYTHONOPTIMIZE ?= 2
 CWD = $(shell pwd)
 EDITOR ?= vim
 DEST ?= $(shell $(PYTHON) -c 'import sys; sys.stdout.write( \
@@ -30,6 +30,7 @@ all: test install
 
 compile: clean
 	@echo 'Compiling...'
+	python -m compileall -q ranger
 	PYTHONOPTIMIZE=$(PYTHONOPTIMIZE) python -m compileall -q ranger
 
 doc: cleandoc