]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix Python UI generation when compiling with CMake
authorbarate <barate>
Mon, 3 Oct 2011 09:09:24 +0000 (09:09 +0000)
committerbarate <barate>
Mon, 3 Oct 2011 09:09:24 +0000 (09:09 +0000)
src/GUI_PY/Makefile.am

index 85a48cc12524c4e4f720479797a5491f97ad3b67..f2251818394b1552cf8cdcdb56f1490e5adbd1a5 100644 (file)
@@ -28,9 +28,12 @@ mypkgpythondir = $(salomepythondir)/salome/gui
 mypkgpython_PYTHON = __init__.py \
                      selectvars.py
 
-nodist_mypkgpython_PYTHON = SelectVarsDialog.py
-CLEANFILES  = $(nodist_mypkgpython_PYTHON)
-EXTRA_DIST += SelectVarsDialog.ui
+PYUIC_FILES = SelectVarsDialog.py
+
+nodist_mypkgpython_PYTHON = $(PYUIC_FILES)
+CLEANFILES = $(PYUIC_FILES)
+
+EXTRA_DIST = SelectVarsDialog.ui
 
 %.py:%.ui
        $(PYUIC) $< -o $@