From 1295513fdf03f442881c9a0018ee95678822ff1b Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 22 Mar 2010 20:40:44 +0100 Subject: make compile: create pyc files too --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit 1.4.1-2-gfad0