summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-03-22 20:40:44 +0100
committerhut <hut@lavabit.com>2010-03-22 20:40:44 +0100
commit1295513fdf03f442881c9a0018ee95678822ff1b (patch)
tree836a76f22fb42dcd993adcb9e7184c5352a4346d
parent361781cddf95129746c8e311cd7d1c745baaa56c (diff)
downloadranger-1295513fdf03f442881c9a0018ee95678822ff1b.tar.gz
make compile: create pyc files too
-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