diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-08-08 19:24:36 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-08-08 19:24:36 +0000 |
commit | 707e763398063186c20d8aba3abdef20e3d39253 (patch) | |
tree | e4354758ae26bbe7549ae2cb6c67455d24399524 /avahi-utils | |
parent | d9a6f15b4e0ec6981842e078dd20dbb61de20dbc (diff) |
put real path to avahi-discover into .desktop file
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@280 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-utils')
-rw-r--r-- | avahi-utils/Makefile.am | 6 | ||||
-rw-r--r-- | avahi-utils/avahi-discover.desktop.in (renamed from avahi-utils/avahi-discover.desktop) | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/avahi-utils/Makefile.am b/avahi-utils/Makefile.am index 5809eb7..78d5187 100644 --- a/avahi-utils/Makefile.am +++ b/avahi-utils/Makefile.am @@ -34,7 +34,7 @@ EXTRA_DIST = \ avahi-bookmarks.in \ avahi-resolve-host-name.in \ avahi-resolve-address.in \ - avahi-discover.desktop + avahi-discover.desktop.in if HAVE_PYTHON SUBDIRS=avahi @@ -45,6 +45,10 @@ desktop_DATA = avahi-discover.desktop 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 $@ diff --git a/avahi-utils/avahi-discover.desktop b/avahi-utils/avahi-discover.desktop.in index da4fa8b..2362cd4 100644 --- a/avahi-utils/avahi-discover.desktop +++ b/avahi-utils/avahi-discover.desktop.in @@ -2,7 +2,7 @@ Encoding=UTF-8 Name=Avahi Zeroconf Browser Comment=Browse for Zeroconf services available on your network -Exec=avahi-discover +Exec=@bindir@/avahi-discover Terminal=false Type=Application Icon=gnome-nettool.png |