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.