Commit cd7d648a authored by Nima Saed-Samii's avatar Nima Saed-Samii Committed by Nima Saed-Samii

Fix build and per-user library recompile

parent 1e8cbeb4
......@@ -97,6 +97,8 @@ def BuildLibrary(name, libdir):
if os.path.exists(dir):
shutil.rmtree(dir)
shutil.copytree(os.path.join(os.path.dirname(__file__), name), dir)
shutil.copyfile(os.path.join(os.path.dirname(__file__), name, "../Makefile.def"), os.path.join(dir, "../Makefile.def"))
shutil.copyfile(os.path.join(os.path.dirname(__file__), name, "../Makefile.body"), os.path.join(dir, "../Makefile.body"))
# Make library
subprocess.check_call(['make', 'clean', '-j', '--silent'], cwd=dir)
subprocess.check_call(['make', '-j', '--silent'], cwd=dir)
......
......@@ -47,12 +47,13 @@ setup(
package_data={
'hdtv': ['share/*'],
'hdtv.rootext': [
'mfile-root/*.h', 'mfile-root/*.cxx', 'mfile-root/Makefile',
'Makefile', 'Makefile.def', 'Makefile.body',
'mfile-root/*.hh', 'mfile-root/*.cc', 'mfile-root/Makefile', 'mfile-root/LinkDef.h',
'mfile-root/libmfile-root.so', 'mfile-root/libmfile-root_rdict.pcm', 'mfile-root/libmfile-root.rootmap',
'mfile-root/matop/*.h', 'mfile-root/matop/*.c',
'fit/*.h', 'fit/*.cxx', 'fit/Makefile',
'fit/*.hh', 'fit/*.cc', 'fit/Makefile', 'fit/LinkDef.h',
'fit/libfit.so', 'fit/libfit_rdict.pcm', 'fit/libfit.rootmap',
'display/*.h', 'display/*.cxx', 'display/Makefile',
'display/*.hh', 'display/*.cc', 'display/Makefile', 'display/LinkDef.h',
'display/libdisplay.so', 'display/libdisplay_rdict.pcm', 'display/libdisplay.rootmap',
],
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment