mirror of
https://gitlab.com/openlp/packaging.git
synced 2024-12-22 21:12:50 +00:00
include font in package
This commit is contained in:
parent
b2cb30f31b
commit
80eef6fc5b
@ -372,6 +372,15 @@ class Builder(object):
|
|||||||
self._print_verbose('... %s', filename)
|
self._print_verbose('... %s', filename)
|
||||||
copy(os.path.join(root, filename), os.path.join(dest_path, filename))
|
copy(os.path.join(root, filename), os.path.join(dest_path, filename))
|
||||||
|
|
||||||
|
def copy_font(self):
|
||||||
|
"""
|
||||||
|
Copy OpenLP font file
|
||||||
|
"""
|
||||||
|
self._print('Copying OpenLP font...')
|
||||||
|
source = os.path.join(self.source_path, 'core', 'ui', 'fonts', 'OpenLP.ttf')
|
||||||
|
dest = os.path.join(self.dist_path, 'core', 'ui', 'fonts', 'OpenLP.ttf')
|
||||||
|
copy(source, dest)
|
||||||
|
|
||||||
def copy_extra_files(self):
|
def copy_extra_files(self):
|
||||||
"""
|
"""
|
||||||
Copy any extra files which are particular to a platform
|
Copy any extra files which are particular to a platform
|
||||||
@ -468,6 +477,7 @@ class Builder(object):
|
|||||||
self.copy_default_theme()
|
self.copy_default_theme()
|
||||||
self.copy_plugins()
|
self.copy_plugins()
|
||||||
self.copy_media_player()
|
self.copy_media_player()
|
||||||
|
self.copy_font()
|
||||||
if os.path.exists(self.manual_path):
|
if os.path.exists(self.manual_path):
|
||||||
self.run_sphinx()
|
self.run_sphinx()
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user