|
From: | Enrico Sardi |
Subject: | Re: Desktop file and exec path |
Date: | Thu, 08 Feb 2007 13:25:06 +0100 |
User-agent: | Mozilla Thunderbird 1.5.0.9 (X11/20070103) |
Ralf Wildenhues pronuncio' le seguenti parole il 05/02/2007 20:35:
Hello Enrico, * Enrico Sardi wrote on Sun, Feb 04, 2007 at 11:56:07PM CET:Is there a way to set the "Exec" path in a .desktop file from an automake variable?I don't understand this question, sorry. It's possible both to read and to manipulate files in both the configure.ac script as well as in a Makefile.am rule. So if that was the question, then the answer is yes.
Hi! You are right! Now I try to explain my questions better ;) I have a desktop file like this: glpegsolitaire.desktop ------------------------------------------------------------------ [Desktop Entry] Name=Peg Solitaire Comment=A "Peg Solitaire" for Gnome Exec=glpegsolitaire Icon=glpegsolitaire.png Terminal=false Type=Application Categories=GNOME;Game;BoardGame StartupNotify=true ------------------------------------------------------------------and I want that if I give the command "make install" the path in the Exec field will be replaced by the value of the $(datadir) variable. Is this possible?
Many thanks for the help! Enrico
[Prev in Thread] | Current Thread | [Next in Thread] |