automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Desktop file and exec path


From: Benoit Sigoure
Subject: Re: Desktop file and exec path
Date: Thu, 08 Feb 2007 22:41:09 +0100
User-agent: Internet Messaging Program (IMP) H3 (4.0.2)

Quoting Andreas Schwab <address@hidden>:

Benoit Sigoure <address@hidden> writes:

Although two ways of solving this issue have been proposed already, there is
also another way out: using an AC_CONFIG_FILES.

glpegsolitaire.desktop.in
------------------------------------------------------------------
[Desktop Entry]
Name=Peg Solitaire
Comment=A "Peg Solitaire" for Gnome
address@hidden@
Icon=glpegsolitaire.png
Terminal=false
Type=Application
Categories=GNOME;Game;BoardGame
StartupNotify=true
------------------------------------------------------------------

In your configure.ac:
AC_CONFIG_FILES([path/to/glpegsolitaire.desktop])

Such substitutions only work correctly in makefiles, since they can expand
to references to other substituted variables that are supposed to be
recursively expanded as done by make.


Woops, that's true, sorry, I didn't think about that :)

--
SIGOURE Benoit aka Tsuna
  _____
 /EPITA\ Promo 2008, LRDE





reply via email to

[Prev in Thread] Current Thread [Next in Thread]