desktopdir = $(datadir)/applications
desktop_DATA =
+desktop_DATA_in = $(desktop_DATA_in_in:.in.in=.in)
+desktop_DATA_in_in = bssh.desktop.in.in bvnc.desktop.in.in
-EXTRA_DIST = bssh.desktop.in bvnc.desktop.in
+EXTRA_DIST = $(desktop_DATA_in_in)
if HAVE_GTK
$(LN_S) bssh bvnc && \
$(LN_S) bssh bshell
-bssh.desktop: bssh.desktop.in
+bssh.desktop.in: bssh.desktop.in.in
sed -e 's,@bindir\@,$(bindir),g' $< > $@
-bvnc.desktop: bvnc.desktop.in
+bvnc.desktop.in: bvnc.desktop.in.in
sed -e 's,@bindir\@,$(bindir),g' $< > $@
endif # HAVE_GLIB
endif
endif
-CLEANFILES = $(desktop_DATA)
+@INTLTOOL_DESKTOP_RULE@
+
+CLEANFILES = $(desktop_DATA) $(desktop_DATA_in)
+++ /dev/null
-[Desktop Entry]
-Version=1.0
-Encoding=UTF-8
-_Name=Avahi SSH Server Browser
-_Comment=Browse for Zeroconf-enabled SSH Servers
-Exec=@bindir@/bssh
-Terminal=false
-Type=Application
-Icon=network-wired
-Categories=GNOME;Application;Network;
-StartupNotify=false
-GenericName=
--- /dev/null
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+_Name=Avahi SSH Server Browser
+_Comment=Browse for Zeroconf-enabled SSH Servers
+Exec=@bindir@/bssh
+Terminal=false
+Type=Application
+Icon=network-wired
+Categories=GNOME;Application;Network;
+StartupNotify=false
+GenericName=
+++ /dev/null
-[Desktop Entry]
-Version=1.0
-Encoding=UTF-8
-_Name=Avahi VNC Server Browser
-_Comment=Browse for Zeroconf-enabled VNC Servers
-Exec=@bindir@/bvnc
-Terminal=false
-Type=Application
-Icon=network-wired
-Categories=GNOME;Application;Network;
-StartupNotify=false
-GenericName=
--- /dev/null
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+_Name=Avahi VNC Server Browser
+_Comment=Browse for Zeroconf-enabled VNC Servers
+Exec=@bindir@/bvnc
+Terminal=false
+Type=Application
+Icon=network-wired
+Categories=GNOME;Application;Network;
+StartupNotify=false
+GenericName=