diff options
author | hut <hut@lavabit.com> | 2010-03-22 20:40:44 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-03-22 20:40:44 +0100 |
commit | 1295513fdf03f442881c9a0018ee95678822ff1b (patch) | |
tree | 836a76f22fb42dcd993adcb9e7184c5352a4346d /Makefile | |
parent | 361781cddf95129746c8e311cd7d1c745baaa56c (diff) | |
download | ranger-1295513fdf03f442881c9a0018ee95678822ff1b.tar.gz |
make compile: create pyc files too
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
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 |