summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-08-27 01:19:13 +0000
committerLennart Poettering <lennart@poettering.net>2005-08-27 01:19:13 +0000
commitad381a9fff751c693c0209e961d59fef0af8e4e2 (patch)
tree99c817a9926a976d330c6c52e4710fcb4291a109
parent9fca35192e99da237e51c70f3b52f833be44877f (diff)
install interface file when compiling without GTK but with Python+DBUS
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@452 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
-rw-r--r--avahi-discover-standalone/Makefile.am17
1 files changed, 14 insertions, 3 deletions
diff --git a/avahi-discover-standalone/Makefile.am b/avahi-discover-standalone/Makefile.am
index 7145e0f..5b93c42 100644
--- a/avahi-discover-standalone/Makefile.am
+++ b/avahi-discover-standalone/Makefile.am
@@ -42,12 +42,23 @@ avahi_discover_standalone_LDADD = \
../avahi-core/libavahi-core.la \
$(GLIB20_LIBS) $(GTK20_LIBS) $(GLADE20_LIBS)
-interfaces = \
- avahi-discover.glade
+interfaces_DATA = $(interfaces)
+
+else
+if HAVE_PYTHON
+if HAVE_DBUS
+
+# We need this for the python version of avahi-discover
interfaces_DATA = $(interfaces)
+endif
+endif
+endif
+
+interfaces = \
+ avahi-discover.glade
+
EXTRA_DIST = \
$(interfaces) \
avahi-discover.gladep
-endif