summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrent Lloyd <lathiat@bur.st>2005-09-06 11:23:21 +0000
committerTrent Lloyd <lathiat@bur.st>2005-09-06 11:23:21 +0000
commitd193ee8ba8f4d13129778973e0b1e2b980895816 (patch)
tree615742572f1498a262f6654997e7a058a52f21a2
parent36cc002ba145d477eb60684fbcb334f8982822e1 (diff)
* Patch by Ross Burton to make building the ServiceTypeDatabase work when PYGTK and PYTHON-DBUS are not found.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@518 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
-rw-r--r--avahi-utils/avahi/Makefile.am10
1 files changed, 5 insertions, 5 deletions
diff --git a/avahi-utils/avahi/Makefile.am b/avahi-utils/avahi/Makefile.am
index 6800634..b1ebe22 100644
--- a/avahi-utils/avahi/Makefile.am
+++ b/avahi-utils/avahi/Makefile.am
@@ -25,16 +25,16 @@ avahidir = $(pythondir)/avahi
avahi_SCRIPTS = ServiceTypeDatabase.py
-if HAVE_PYTHON_DBUS
-if HAVE_PYGTK
-
-avahi_PYTHON = __init__.py SimpleGladeApp.py
-
ServiceTypeDatabase.py: ServiceTypeDatabase.py.in
sed -e 's,@PYTHON\@,$(PYTHON),g' \
-e 's,@pkgdatadir\@,$(pkgdatadir),g' $< > $@
chmod +x $@
+if HAVE_PYGTK
+if HAVE_PYTHON_DBUS
+
+avahi_PYTHON = __init__.py SimpleGladeApp.py
+
endif
endif
endif