diff Makefile.am @ 1642:a78ac3a4c32e

use intltool for desktop file translation - desktop files are translated via .po files together with other strings - make update-po is replaced with intltool-update [lang]
author nadvornik
date Mon, 15 Jun 2009 20:50:35 +0000
parents c85dc2a7d6da
children c08defa57068
line wrap: on
line diff
--- a/Makefile.am	Mon Jun 15 19:13:45 2009 +0000
+++ b/Makefile.am	Mon Jun 15 20:50:35 2009 +0000
@@ -11,7 +11,9 @@
 readme_DATA = README COPYING ChangeLog TODO README.lirc
 
 desktopdir = $(datadir)/applications
-desktop_DATA = geeqie.desktop
+desktop_in_files = geeqie.desktop.in
+desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+@INTLTOOL_DESKTOP_RULE@
 
 icondir = $(datadir)/pixmaps
 icon_DATA = geeqie.png