Fix make distcheck errors.
[platform/upstream/ibus.git] / ibus / interface / Makefile.am
index 49871ed..6a8db39 100644 (file)
@@ -20,6 +20,7 @@
 # Free Software Foundation, Inc., 59 Temple Place, Suite 330,
 # Boston, MA  02111-1307  USA
 
+if ENABLE_PYTHON
 ibus_interface_PYTHON = \
        iconfig.py \
        ienginefactory.py \
@@ -32,6 +33,7 @@ ibus_interface_PYTHON = \
        $(NULL)
 
 ibus_interfacedir = @pkgpythondir@/interface
+endif
 
 CLEANFILES = \
        *.pyc \