1 # This file is part of avahi.
3 # avahi is free software; you can redistribute it and/or modify it
4 # under the terms of the GNU Lesser General Public License as
5 # published by the Free Software Foundation; either version 2 of the
6 # License, or (at your option) any later version.
8 # avahi is distributed in the hope that it will be useful, but WITHOUT
9 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
10 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
11 # License for more details.
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with avahi; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
18 AM_CFLAGS=-I$(top_srcdir)
23 avahi-discover.desktop.in.in
31 desktopdir = $(datadir)/applications
34 avahi_discoverdir = $(pythondir)/avahi_discover
35 avahi_discover_PYTHON =
40 desktop_DATA += avahi-discover.desktop
41 @INTLTOOL_DESKTOP_RULE@
42 avahi_discover_PYTHON += __init__.py
48 desktop_DATA += avahi-discover.desktop
49 @INTLTOOL_DESKTOP_RULE@
50 avahi_discover_PYTHON += __init__.py
53 avahi-discover.desktop.in: avahi-discover.desktop.in.in
54 $(AM_V_GEN)sed -e 's,@bindir\@,$(bindir),g' $< > $@
56 avahi-discover: avahi-discover.py
57 $(AM_V_GEN)sed -e 's,@PYTHON\@,$(PYTHON),g' \
58 -e 's,@GETTEXT_PACKAGE\@,"$(GETTEXT_PACKAGE)",g' \
59 -e 's,@LOCALEDIR\@,"$(avahilocaledir)",g' \
60 -e 's,@interfacesdir\@,$(interfacesdir),g' $< > $@ && \
63 bin_SCRIPTS = $(pythonscripts)
65 CLEANFILES = $(pythonscripts) $(desktop_DATA) *.pyc *.pyo avahi-discover.desktop.in