This commit is contained in:
Kovid Goyal 2012-08-17 17:39:22 +05:30
parent 4ff2ed1a9b
commit 191b6f9686

View File

@ -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: