Do install pygconf files without --enable-pygconf
authorHuang Peng <shawn.p.huang@gmail.com>
Wed, 17 Sep 2008 13:43:56 +0000 (21:43 +0800)
committerHuang Peng <shawn.p.huang@gmail.com>
Wed, 17 Sep 2008 13:43:56 +0000 (21:43 +0800)
util/gconf/Makefile.am

index 4a57d59..b3f7b74 100644 (file)
@@ -2,7 +2,9 @@ INCLUDES = $(PYTHON_INCLUDES) $(PYGTK_CFLAGS)
 
 defsdir = $(datadir)/pygtk/2.0/defs
 
+if IBUS_BUILD_PYGCONF
 defs_DATA = gconf.defs
+endif
 
 common_ldflags = -module -avoid-version $(PYTHON_LDFLAGS)
 
@@ -29,7 +31,10 @@ EXTRA_DIST = gconf.defs gconf.override
 gconf.c: gconf.defs gconf.override gconf-arg-types.py
 
 argtypesdir = $(datadir)/pygtk/2.0/argtypes
+
+if IBUS_BUILD_PYGCONF
 argtypes_PYTHON = gconf-arg-types.py
+endif
 
 .defs.c:
        (cd $(srcdir) \