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
href='#n132'>132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199