X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-utils%2Favahi%2FMakefile.am;h=b1ebe22a69567a10eae8cab2019ae483c7f05c15;hb=4a3ab01cd4ac3db4640d14492c29a796fb37ecc0;hp=248bf692d9f7f57f17c71e27a3ebece9e3fc6aee;hpb=b78eacbd64af799754684e3fe3569f0ba4ec92f3;p=catta diff --git a/avahi-utils/avahi/Makefile.am b/avahi-utils/avahi/Makefile.am index 248bf69..b1ebe22 100644 --- a/avahi-utils/avahi/Makefile.am +++ b/avahi-utils/avahi/Makefile.am @@ -17,10 +17,28 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. -avahidir = $(pythondir)/avahi +EXTRA_DIST = __init__.py SimpleGladeApp.py ServiceTypeDatabase.py.in if HAVE_PYTHON -avahi_PYTHON = __init__.py SimpleGladeApp.py + +avahidir = $(pythondir)/avahi + +avahi_SCRIPTS = ServiceTypeDatabase.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 + +CLEANFILES=*.pyc *.pyo ServiceTypeDatabase.py + -EXTRA_DIST = __init__.py SimpleGladeApp.py