mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
4ff2ed1a9b
commit
191b6f9686
@ -300,7 +300,7 @@ class Build(Command):
|
|||||||
self.obj_dir = os.path.join(os.path.dirname(SRC), 'build', 'objects')
|
self.obj_dir = os.path.join(os.path.dirname(SRC), 'build', 'objects')
|
||||||
if not os.path.exists(self.obj_dir):
|
if not os.path.exists(self.obj_dir):
|
||||||
os.makedirs(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'))
|
self.build_style(self.j(self.SRC, 'calibre', 'plugins'))
|
||||||
for ext in extensions:
|
for ext in extensions:
|
||||||
if opts.only != 'all' and opts.only != ext.name:
|
if opts.only != 'all' and opts.only != ext.name:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user