# HG changeset patch # User Erik Grinaker # Date 1168478555 0 # Node ID 2edd2f7a0d702fd94a476e6d9f1c9106d912356d # Parent 01b33476a18899ff31c64bc77725e4c79bbbd8a1 generate revelation.desktop with proper version from autoconf diff -r 01b33476a18899ff31c64bc77725e4c79bbbd8a1 -r 2edd2f7a0d702fd94a476e6d9f1c9106d912356d data/mime/Makefile.am --- a/data/mime/Makefile.am Thu Jan 11 01:13:05 2007 +0000 +++ b/data/mime/Makefile.am Thu Jan 11 01:22:35 2007 +0000 @@ -6,11 +6,20 @@ # desktopdir = $(datadir)/applications -dist_desktop_DATA = revelation.desktop +nodist_desktop_DATA = revelation.desktop mimedir = $(datadir)/mime/packages dist_mime_DATA = revelation.xml +CLEANFILES = revelation.desktop +EXTRA_DIST = revelation.desktop.in + + +revelation.desktop: revelation.desktop.in + sed \ + -e "s|\@VERSION\@|$(VERSION)|" \ + revelation.desktop.in > revelation.desktop + install-data-hook: if HAVE_FDO_MIME diff -r 01b33476a18899ff31c64bc77725e4c79bbbd8a1 -r 2edd2f7a0d702fd94a476e6d9f1c9106d912356d data/mime/revelation.desktop --- a/data/mime/revelation.desktop Thu Jan 11 01:13:05 2007 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -[Desktop Entry] -Version=0.4.8 -Encoding=UTF-8 -Name=Revelation Password Manager -Name[fr]=Gestionnaire de mots de passe Revelation -GenericName=Password Manager -GenericName[en_US]=Password Manager -GenericName[fr]=Gestionnaire de mots de passe -Comment=Organize and secure your passwords -Comment[fr]=Organise et sécurise vos mots de passe -Exec=revelation -Icon=revelation -Terminal=false -Type=Application -Categories=GNOME;Application;Utility; -StartupNotify=true -MimeType=application/x-revelation; - diff -r 01b33476a18899ff31c64bc77725e4c79bbbd8a1 -r 2edd2f7a0d702fd94a476e6d9f1c9106d912356d data/mime/revelation.desktop.in --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/data/mime/revelation.desktop.in Thu Jan 11 01:22:35 2007 +0000 @@ -0,0 +1,18 @@ +[Desktop Entry] +Version=@VERSION@ +Encoding=UTF-8 +Name=Revelation Password Manager +Name[fr]=Gestionnaire de mots de passe Revelation +GenericName=Password Manager +GenericName[en_US]=Password Manager +GenericName[fr]=Gestionnaire de mots de passe +Comment=Organize and secure your passwords +Comment[fr]=Organise et sécurise vos mots de passe +Exec=revelation +Icon=revelation +Terminal=false +Type=Application +Categories=GNOME;Application;Utility; +StartupNotify=true +MimeType=application/x-revelation; +