mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-15 18:18:35 +05:00
Fix make distcheck error (merge from V6_4_BR)
This commit is contained in:
parent
265538828f
commit
c562120a93
@ -22,8 +22,8 @@
|
|||||||
# Date : 30/11/2001
|
# Date : 30/11/2001
|
||||||
# Modified by : Alexander BORODIN (OCN) - autotools usage
|
# Modified by : Alexander BORODIN (OCN) - autotools usage
|
||||||
#
|
#
|
||||||
#SUBDIRS = salome docutils
|
SUBDIRS = salome docutils
|
||||||
SUBDIRS = salome
|
#SUBDIRS = salome
|
||||||
|
|
||||||
usr_docs:
|
usr_docs:
|
||||||
(cd salome && $(MAKE) $(AM_MAKEFLAGS) usr_docs)
|
(cd salome && $(MAKE) $(AM_MAKEFLAGS) usr_docs)
|
||||||
|
@ -38,9 +38,17 @@ SPHINXBUILD = sphinx-build
|
|||||||
PAPEROPT_a4 = -D latex_paper_size=a4
|
PAPEROPT_a4 = -D latex_paper_size=a4
|
||||||
ALLSPHINXOPTS = -d doctrees $(PAPEROPT_a4) $(SPHINXOPTS) $(SOURCEDIR)
|
ALLSPHINXOPTS = -d doctrees $(PAPEROPT_a4) $(SPHINXOPTS) $(SOURCEDIR)
|
||||||
|
|
||||||
|
if GEOM_ENABLE_GUI
|
||||||
|
SPHINX_PYTHONPATH = $(prefix)/lib/python$(PYTHON_VERSION)/site-packages/salome:$(prefix)/lib64/python$(PYTHON_VERSION)/site-packages/salome:$(GUI_ROOT_DIR)/lib/salome:$(KERNEL_ROOT_DIR)/bin/salome:$(KERNEL_ROOT_DIR)/lib/python$(PYTHON_VERSION)/site-packages/salome:$(KERNEL_ROOT_DIR)/lib64/python$(PYTHON_VERSION)/site-packages/salome:$(OMNIORB_ROOT)/lib/python$(PYTHON_VERSION)/site-packages:$(OMNIORB_ROOT)/lib64/python$(PYTHON_VERSION)/site-packages
|
||||||
|
else !GEOM_ENABLE_GUI
|
||||||
SPHINX_PYTHONPATH = $(prefix)/lib/python$(PYTHON_VERSION)/site-packages/salome:$(prefix)/lib64/python$(PYTHON_VERSION)/site-packages/salome:$(KERNEL_ROOT_DIR)/bin/salome:$(KERNEL_ROOT_DIR)/lib/python$(PYTHON_VERSION)/site-packages/salome:$(KERNEL_ROOT_DIR)/lib64/python$(PYTHON_VERSION)/site-packages/salome:$(OMNIORB_ROOT)/lib/python$(PYTHON_VERSION)/site-packages:$(OMNIORB_ROOT)/lib64/python$(PYTHON_VERSION)/site-packages
|
SPHINX_PYTHONPATH = $(prefix)/lib/python$(PYTHON_VERSION)/site-packages/salome:$(prefix)/lib64/python$(PYTHON_VERSION)/site-packages/salome:$(KERNEL_ROOT_DIR)/bin/salome:$(KERNEL_ROOT_DIR)/lib/python$(PYTHON_VERSION)/site-packages/salome:$(KERNEL_ROOT_DIR)/lib64/python$(PYTHON_VERSION)/site-packages/salome:$(OMNIORB_ROOT)/lib/python$(PYTHON_VERSION)/site-packages:$(OMNIORB_ROOT)/lib64/python$(PYTHON_VERSION)/site-packages
|
||||||
|
endif
|
||||||
|
|
||||||
|
if GEOM_ENABLE_GUI
|
||||||
|
SPHINX_LD_LIBRARY_PATH = $(GUI_ROOT_DIR)/lib/salome:$(KERNEL_ROOT_DIR)/lib/salome:$(OMNIORB_ROOT)/lib
|
||||||
|
else !GEOM_ENABLE_GUI
|
||||||
SPHINX_LD_LIBRARY_PATH = $(KERNEL_ROOT_DIR)/lib/salome:$(OMNIORB_ROOT)/lib
|
SPHINX_LD_LIBRARY_PATH = $(KERNEL_ROOT_DIR)/lib/salome:$(OMNIORB_ROOT)/lib
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
.PHONY: latex
|
.PHONY: latex
|
||||||
|
@ -31,8 +31,11 @@ from salome.kernel import termcolor
|
|||||||
logger = Logger("salome.geom.geomtools", color = termcolor.RED)
|
logger = Logger("salome.geom.geomtools", color = termcolor.RED)
|
||||||
|
|
||||||
from salome.kernel.studyedit import getActiveStudyId, getStudyEditor
|
from salome.kernel.studyedit import getActiveStudyId, getStudyEditor
|
||||||
from salome.gui import helper
|
|
||||||
from salome.kernel.services import IDToObject
|
from salome.kernel.services import IDToObject
|
||||||
|
try:
|
||||||
|
from salome.gui import helper
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
_geompys = {}
|
_geompys = {}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user