1 # Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License.
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # Lesser General Public License for more details.
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 # Author : Alexander KOVALEV (Open Cascade NN)
25 include $(top_srcdir)/adm_local/unix/make_common_starter.am
27 pyexamplesdir = $(docdir)/examples/GEOM
30 repairing_operations_ex09.py
34 advanced_geom_objs_ex01.py \
35 advanced_geom_objs_ex02.py \
36 advanced_geom_objs_ex03.py \
38 arranging_study_objects.py \
39 basic_geom_objs_ex01.py \
40 basic_geom_objs_ex02.py \
41 basic_geom_objs_ex03.py \
42 basic_geom_objs_ex04.py \
43 basic_geom_objs_ex05.py \
44 basic_geom_objs_ex06.py \
45 basic_geom_objs_ex07.py \
46 basic_geom_objs_ex08.py \
47 basic_geom_objs_ex09.py \
48 basic_operations_ex01.py \
49 basic_operations_ex02.py \
50 basic_operations_ex03.py \
52 blocks_operations_ex01.py \
53 blocks_operations_ex02.py \
54 blocks_operations_ex03.py \
55 boolean_operations_ex01.py \
56 boolean_operations_ex02.py \
57 boolean_operations_ex03.py \
58 boolean_operations_ex04.py \
60 building_by_blocks_ex01.py \
61 building_by_blocks_ex02.py \
63 check_compound_of_blocks.py \
64 check_self_intersections.py \
66 complex_objs_ex01.py \
67 complex_objs_ex02.py \
68 complex_objs_ex03.py \
69 complex_objs_ex04.py \
70 complex_objs_ex05.py \
71 complex_objs_ex06.py \
72 complex_objs_ex07.py \
73 complex_objs_ex08.py \
74 complex_objs_ex09.py \
75 complex_objs_ex10.py \
85 point_coordinates.py \
93 repairing_operations_ex01.py \
94 repairing_operations_ex02.py \
95 repairing_operations_ex03.py \
96 repairing_operations_ex04.py \
97 repairing_operations_ex05.py \
98 repairing_operations_ex06.py \
99 repairing_operations_ex07.py \
100 repairing_operations_ex08.py \
101 repairing_operations_ex10.py \
102 repairing_operations_ex11.py \
103 repairing_operations_ex12.py \
106 topological_geom_objs_ex01.py \
107 topological_geom_objs_ex02.py \
108 topological_geom_objs_ex03.py \
109 topological_geom_objs_ex04.py \
110 topological_geom_objs_ex05.py \
111 topological_geom_objs_ex06.py \
112 transformation_operations_ex01.py \
113 transformation_operations_ex02.py \
114 transformation_operations_ex03.py \
115 transformation_operations_ex04.py \
116 transformation_operations_ex05.py \
117 transformation_operations_ex06.py \
118 transformation_operations_ex07.py \
119 transformation_operations_ex08.py \
120 transformation_operations_ex09.py \
121 transformation_operations_ex10.py \
122 transformation_operations_ex11.py \
123 transformation_operations_ex12.py \
124 transformation_operations_ex13.py \
125 viewing_geom_objs_ex01.py \
126 viewing_geom_objs_ex02.py \
127 viewing_geom_objs_ex03.py \
128 viewing_geom_objs_ex04.py \
130 working_with_groups_ex01.py \
131 working_with_groups_ex02.py \
132 working_with_groups_ex03.py \
133 working_with_groups_ex04.py \
134 working_with_groups_ex05.py \
135 working_with_groups_ex06.py
137 pyexamples_SCRIPTS = $(BAD_TESTS) $(GOOD_TESTS)
139 EXTRA_DIST += $(pyexamples_SCRIPTS) testme.py
141 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
142 THIS_LD_LIBRARY_PATH = $(KERNEL_ROOT_DIR)/lib/salome
145 @for f in $(GOOD_TESTS) ; do \
146 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; \