From: barate Date: Mon, 3 Oct 2011 09:09:24 +0000 (+0000) Subject: Fix Python UI generation when compiling with CMake X-Git-Tag: V6_4_0a1~52 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a4c7109d2d39dd9c43fe667db309b4abd67d40f0;p=modules%2Fgui.git Fix Python UI generation when compiling with CMake --- diff --git a/src/GUI_PY/Makefile.am b/src/GUI_PY/Makefile.am index 85a48cc12..f22518183 100644 --- a/src/GUI_PY/Makefile.am +++ b/src/GUI_PY/Makefile.am @@ -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 $@