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