Quoting Andreas Schwab <[EMAIL PROTECTED]>:

Benoit Sigoure <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED]@
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