mirror of
https://github.com/haiwen/seafile.git
synced 2025-01-05 10:26:43 +08:00
fixed some distribute problems
This commit is contained in:
parent
cfe04ba245
commit
a6f757b9bc
@ -39,3 +39,5 @@ endif
|
||||
# monitor_tool_LDADD = @CCNET_CFLAGS@ \
|
||||
# -lsearpc \
|
||||
# @GLIB2_LIBS@ @GOBJECT_LIBS@ -lssl -lrt -luuid -lsqlite3
|
||||
|
||||
EXTRA_DIST = seaf-cli
|
@ -153,6 +153,13 @@ def remove_unused_files():
|
||||
def gen_tarball():
|
||||
output = os.path.join(conf[CONF_OUTPUTDIR], 'seafile-latest.tar.gz')
|
||||
dirname = 'seafile-%s' % conf[CONF_VERSION]
|
||||
|
||||
ignored_patterns = [
|
||||
# windows msvc dlls
|
||||
os.path.join(dirname, 'msi', 'bin*'),
|
||||
]
|
||||
|
||||
excludes_list = [ '--exclude=%s' % pattern for pattern in ignored_patterns ]
|
||||
argv = [
|
||||
'tar',
|
||||
'czvf',
|
||||
@ -160,6 +167,8 @@ def gen_tarball():
|
||||
dirname,
|
||||
]
|
||||
|
||||
argv.append(*excludes_list)
|
||||
|
||||
if run_argv(argv) != 0:
|
||||
error('failed to gen %s' % output)
|
||||
|
||||
|
@ -230,6 +230,9 @@ def copy_shared_libs():
|
||||
for lib in shared_libs:
|
||||
must_copy(lib, bin_dir)
|
||||
|
||||
libsqlite3 = which('libsqlite3-0.dll')
|
||||
must_copy(libsqlite3, bin_dir)
|
||||
|
||||
def copy_dll_exe():
|
||||
filelist = [
|
||||
'libsearpc-1.dll',
|
||||
|
Loading…
Reference in New Issue
Block a user