module_sharedoc_dir=os.path.join(module_dir,'share','doc','salome')
module_sharedoc_gui_dir=os.path.join(module_dir,'share','doc','salome','gui')
module_sharedoc_tui_dir=os.path.join(module_dir,'share','doc','salome','tui')
+ module_sharedoc_examples=os.path.join(module_dir,'share','doc','salome','examples')
bin_dir=os.path.join(home_dir,'bin','salome')
idl_dir=os.path.join(home_dir,'idl','salome')
sharedoc_dir=os.path.join(home_dir,'share','doc','salome')
sharedoc_gui_dir=os.path.join(home_dir,'share','doc','salome','gui')
sharedoc_tui_dir=os.path.join(home_dir,'share','doc','salome','tui')
+ sharedoc_examples_dir=os.path.join(home_dir,'share','doc','salome','examples')
if options.clear:
rmtree(bin_dir)
for fn in os.listdir(module_sharedoc_dir):
if fn == 'gui':continue
if fn == 'tui':continue
+ if fn == 'examples':continue
symlink(os.path.join(module_sharedoc_dir, fn), os.path.join(sharedoc_dir, fn))
pass
pass
symlink(os.path.join(module_sharedoc_tui_dir, fn), os.path.join(sharedoc_tui_dir, fn))
pass
pass
+
+ #directory share/doc/salome/examples : create it and link content
+ if os.path.exists(module_sharedoc_examples):
+ mkdir(sharedoc_examples_dir)
+ for fn in os.listdir(module_sharedoc_examples):
+ symlink(os.path.join(module_sharedoc_examples, fn), os.path.join(sharedoc_examples_dir, fn))
+ pass
+ pass
#directory share/salome : create it and link content
if os.path.exists(module_share_dir):