X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-python%2Favahi-discover%2FMakefile.am;h=d16bd11cae66f1e89b594cc9e3b4e4ea67dee794;hb=7a5b2f69af7d36d6cd4153142f125fa011784e03;hp=7a16472bb8f8c3c4a1b52fb1fd766d52a6e720ed;hpb=4762665d22b1e3097b537e9a5e27d2f2b0bfcfde;p=catta diff --git a/avahi-python/avahi-discover/Makefile.am b/avahi-python/avahi-discover/Makefile.am index 7a16472..d16bd11 100644 --- a/avahi-python/avahi-discover/Makefile.am +++ b/avahi-python/avahi-discover/Makefile.am @@ -1,5 +1,3 @@ -# $Id$ - # This file is part of avahi. # # avahi is free software; you can redistribute it and/or modify it @@ -21,7 +19,7 @@ AM_CFLAGS=-I$(top_srcdir) EXTRA_DIST = \ __init__.py \ - avahi-discover.in \ + avahi-discover.py \ avahi-discover.desktop.in.in if HAVE_PYTHON @@ -31,7 +29,7 @@ if HAVE_PYGTK pythonscripts = desktopdir = $(datadir)/applications -desktop_DATA = +desktop_DATA = avahi_discoverdir = $(pythondir)/avahi_discover avahi_discover_PYTHON = @@ -53,13 +51,13 @@ avahi_discover_PYTHON += __init__.py endif avahi-discover.desktop.in: avahi-discover.desktop.in.in - sed -e 's,@bindir\@,$(bindir),g' $< > $@ + $(AM_V_GEN)sed -e 's,@bindir\@,$(bindir),g' $< > $@ -avahi-discover: avahi-discover.in - sed -e 's,@PYTHON\@,$(PYTHON),g' \ +avahi-discover: avahi-discover.py + $(AM_V_GEN)sed -e 's,@PYTHON\@,$(PYTHON),g' \ -e 's,@GETTEXT_PACKAGE\@,"$(GETTEXT_PACKAGE)",g' \ - -e 's,@LOCALEDIR\@,"$(datadir)/locale",g' \ - -e 's,@interfacesdir\@,$(interfacesdir),g' $< > $@ + -e 's,@LOCALEDIR\@,"$(avahilocaledir)",g' \ + -e 's,@interfacesdir\@,$(interfacesdir),g' $< > $@ && \ chmod +x $@ bin_SCRIPTS = $(pythonscripts)