avahi-bookmarks.in \
avahi-resolve-host-name.in \
avahi-resolve-address.in \
- avahi-discover.desktop
+ avahi-discover.desktop.in
if HAVE_PYTHON
SUBDIRS=avahi
bin_SCRIPTS = $(pythonscripts)
endif
+avahi-discover.desktop: avahi-discover.desktop.in
+ sed -e 's,@bindir\@,$(bindir),g' $< > $@
+ chmod +x $@
+
avahi-publish-address: avahi-publish-address.in
sed -e 's,@PYTHON\@,$(PYTHON),g' $< > $@
chmod +x $@
+++ /dev/null
-[Desktop Entry]
-Encoding=UTF-8
-Name=Avahi Zeroconf Browser
-Comment=Browse for Zeroconf services available on your network
-Exec=avahi-discover
-Terminal=false
-Type=Application
-Icon=gnome-nettool.png
-Categories=GNOME;Application;System;Utility
-StartupNotify=false
--- /dev/null
+[Desktop Entry]
+Encoding=UTF-8
+Name=Avahi Zeroconf Browser
+Comment=Browse for Zeroconf services available on your network
+Exec=@bindir@/avahi-discover
+Terminal=false
+Type=Application
+Icon=gnome-nettool.png
+Categories=GNOME;Application;System;Utility
+StartupNotify=false