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


Reply via email to