geom/doc/salome/examples/Makefile.am

146 lines
4.4 KiB
Makefile
Raw Normal View History

2013-04-01 18:25:01 +06:00
# Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE
2013-02-12 17:35:16 +06:00
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
# File : Makefile
# Author : Alexander KOVALEV (Open Cascade NN)
# Modified by :
# Module : doc
#
include $(top_srcdir)/adm_local/unix/make_common_starter.am
pyexamplesdir = $(docdir)/examples/GEOM
2013-02-28 20:00:05 +06:00
BAD_TESTS = \
repairing_operations_ex09.py
2013-02-12 17:35:16 +06:00
GOOD_TESTS = \
3dsketcher.py \
advanced_geom_objs_ex01.py \
advanced_geom_objs_ex02.py \
advanced_geom_objs_ex03.py \
angle.py \
basic_geom_objs_ex01.py \
basic_geom_objs_ex02.py \
basic_geom_objs_ex03.py \
basic_geom_objs_ex04.py \
basic_geom_objs_ex05.py \
basic_geom_objs_ex06.py \
basic_geom_objs_ex07.py \
basic_geom_objs_ex08.py \
basic_geom_objs_ex09.py \
basic_operations_ex01.py \
basic_operations_ex02.py \
basic_operations_ex03.py \
basic_properties.py \
blocks_operations_ex01.py \
blocks_operations_ex02.py \
blocks_operations_ex03.py \
boolean_operations_ex01.py \
boolean_operations_ex02.py \
boolean_operations_ex03.py \
boolean_operations_ex04.py \
bounding_box.py \
building_by_blocks_ex01.py \
building_by_blocks_ex02.py \
center_of_mass.py \
check_compound_of_blocks.py \
check_self_intersections.py \
check_shape.py \
complex_objs_ex01.py \
complex_objs_ex02.py \
complex_objs_ex03.py \
complex_objs_ex04.py \
complex_objs_ex05.py \
complex_objs_ex06.py \
complex_objs_ex07.py \
complex_objs_ex08.py \
complex_objs_ex09.py \
complex_objs_ex10.py \
free_boundaries.py \
free_faces.py \
GEOM_box.py \
2013-02-12 17:35:16 +06:00
get_non_blocks.py \
import_export.py \
inertia.py \
min_distance.py \
normal_face.py \
notebook_geom.py \
point_coordinates.py \
primitives_ex01.py \
primitives_ex02.py \
primitives_ex03.py \
primitives_ex04.py \
primitives_ex05.py \
primitives_ex06.py \
primitives_ex07.py \
repairing_operations_ex01.py \
repairing_operations_ex02.py \
repairing_operations_ex03.py \
repairing_operations_ex04.py \
repairing_operations_ex05.py \
repairing_operations_ex06.py \
repairing_operations_ex07.py \
repairing_operations_ex08.py \
repairing_operations_ex10.py \
repairing_operations_ex11.py \
sketcher.py \
tolerance.py \
topological_geom_objs_ex01.py \
topological_geom_objs_ex02.py \
topological_geom_objs_ex03.py \
topological_geom_objs_ex04.py \
topological_geom_objs_ex05.py \
topological_geom_objs_ex06.py \
transformation_operations_ex01.py \
transformation_operations_ex02.py \
transformation_operations_ex03.py \
transformation_operations_ex04.py \
transformation_operations_ex05.py \
transformation_operations_ex06.py \
transformation_operations_ex07.py \
transformation_operations_ex08.py \
transformation_operations_ex09.py \
transformation_operations_ex10.py \
transformation_operations_ex11.py \
transformation_operations_ex12.py \
transformation_operations_ex13.py \
viewing_geom_objs_ex01.py \
viewing_geom_objs_ex02.py \
viewing_geom_objs_ex03.py \
viewing_geom_objs_ex04.py \
whatis.py \
working_with_groups_ex01.py \
working_with_groups_ex02.py \
working_with_groups_ex03.py \
working_with_groups_ex04.py \
working_with_groups_ex05.py \
working_with_groups_ex06.py
pyexamples_SCRIPTS = $(BAD_TESTS) $(GOOD_TESTS)
EXTRA_DIST += $(pyexamples_SCRIPTS) testme.py
2013-03-06 19:56:49 +06:00
THIS_PYTHONPATH = $(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
THIS_LD_LIBRARY_PATH = $(KERNEL_ROOT_DIR)/lib/salome
2013-02-28 20:00:05 +06:00
installcheck-local:
2013-02-12 17:35:16 +06:00
@for f in $(GOOD_TESTS) ; do \
2013-03-06 19:56:49 +06:00
GEOM_ROOT_DIR=$(prefix) PYTHONPATH=$(THIS_PYTHONPATH):${PYTHONPATH} LD_LIBRARY_PATH=$(THIS_LD_LIBRARY_PATH):${LD_LIBRARY_PATH} python -B $(top_srcdir)/doc/salome/examples/testme.py $(top_srcdir)/doc/salome/examples/$$f || exit 1; \
2013-02-12 17:35:16 +06:00
done