X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;ds=sidebyside;f=avahi-utils%2Favahi%2FMakefile.am;h=c5a4be8af00d5d7c8b4aa42accca1760cb8eaa6a;hb=3c7af5cffa21cf302b357c6ab722cdb0615e1950;hp=248bf692d9f7f57f17c71e27a3ebece9e3fc6aee;hpb=b78eacbd64af799754684e3fe3569f0ba4ec92f3;p=catta diff --git a/avahi-utils/avahi/Makefile.am b/avahi-utils/avahi/Makefile.am index 248bf69..c5a4be8 100644 --- a/avahi-utils/avahi/Makefile.am +++ b/avahi-utils/avahi/Makefile.am @@ -17,10 +17,22 @@ # 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_PYTHON = __init__.py SimpleGladeApp.py ServiceTypeDatabase.py + +BUILT_SOURCES = ServiceTypeDatabase.py + +ServiceTypeDatabase.py: ServiceTypeDatabase.py.in + sed -e 's,@PYTHON\@,$(PYTHON),g' \ + -e 's,@pkgdatadir\@,$(pkgdatadir),g' $< > $@ + chmod +x $@ + +CLEANFILES=*.pyc *.pyo ServiceTypeDatabase.py + endif -EXTRA_DIST = __init__.py SimpleGladeApp.py +