From: Lennart Poettering Date: Sat, 27 Aug 2005 01:19:13 +0000 (+0000) Subject: install interface file when compiling without GTK but with Python+DBUS X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=ad381a9fff751c693c0209e961d59fef0af8e4e2;p=catta 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 --- 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