From: Joachim Breitner Date: Fri, 24 Jul 2009 10:44:27 +0000 (+0000) Subject: Fill desktop file with correct path X-Git-Tag: 0_19-1~31 X-Git-Url: http://git.nomeata.de/?p=darcs-mirror-screen-message.debian.git;a=commitdiff_plain;h=b2dc54d549a642abe6fcceb2fa9a07c598b37254 Fill desktop file with correct path --- diff --git a/Makefile.am b/Makefile.am index ff2c2da..0007de6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,8 +6,11 @@ sm_LDADD = $(DEPS_LIBS) execgamesdir= $(prefix)/games execgames_PROGRAMS=sm +sm.desktop: sm.desktop.in + sed -e s%@BINPATH@%${execgamesdir}% <$< >$@ + desktopdir = $(datadir)/applications -dist_desktop_DATA = sm.desktop +desktop_DATA = sm.desktop icondir = $(datadir)/icons/hicolor/48x48/apps dist_icon_DATA = sm.png @@ -27,4 +30,5 @@ update-icon-cache: dist_man_MANS = sm.6 -EXTRA_DIST = sm.py +EXTRA_DIST = sm.py sm.desktop.in +CLEANFILES = sm.desktop diff --git a/sm.desktop b/sm.desktop deleted file mode 100644 index 024f9c6..0000000 --- a/sm.desktop +++ /dev/null @@ -1,8 +0,0 @@ -[Desktop Entry] -Name=Screen-Message -Comment=Displays a short text fullscreen -Exec=sm -Icon=sm -Terminal=false -Type=Application -Categories=GTK;Application;Utility; diff --git a/sm.desktop.in b/sm.desktop.in new file mode 100644 index 0000000..f37e974 --- /dev/null +++ b/sm.desktop.in @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Screen-Message +Comment=Displays a short text fullscreen +Exec=@BINPATH@/sm +Icon=sm +Terminal=false +Type=Application +Categories=GTK;Application;Utility;