From 191b6f96862a11c886b8be912b27e1b13a475f26 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 17 Aug 2012 17:39:22 +0530 Subject: [PATCH] ... --- setup/extensions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/extensions.py b/setup/extensions.py index f43dc1eef0..37cb0899f5 100644 --- a/setup/extensions.py +++ b/setup/extensions.py @@ -300,7 +300,7 @@ class Build(Command): self.obj_dir = os.path.join(os.path.dirname(SRC), 'build', 'objects') if not os.path.exists(self.obj_dir): os.makedirs(self.obj_dir) - if not opts.only: + if opts.only in {'all', 'style'}: self.build_style(self.j(self.SRC, 'calibre', 'plugins')) for ext in extensions: if opts.only != 'all' and opts.only != ext.name: