Skip to content

Commit

Permalink
fixed some distribute problems
Browse files Browse the repository at this point in the history
  • Loading branch information
lins05 committed Feb 20, 2013
1 parent cfe04ba commit a6f757b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,5 @@ endif
# monitor_tool_LDADD = @CCNET_CFLAGS@ \
# -lsearpc \
# @GLIB2_LIBS@ @GOBJECT_LIBS@ -lssl -lrt -luuid -lsqlite3

EXTRA_DIST = seaf-cli
9 changes: 9 additions & 0 deletions scripts/build/gen-deb-src.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,22 @@ 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',
output,
dirname,
]

argv.append(*excludes_list)

if run_argv(argv) != 0:
error('failed to gen %s' % output)

Expand Down
3 changes: 3 additions & 0 deletions setupwin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit a6f757b

Please sign in to comment.