Hello Andreas, all, I think most was already said in this thread. Let me add a small nit:
* Andreas Schwab wrote on Thu, Feb 08, 2007 at 02:04:10PM CET: > > Use @DATADIR@ in glpegsolitaire.desktop.in and put this in your makefile: > > glpegsolitaire.desktop: $(srcdir)/glpegsolitaire.desktop.in > sed 's:@DATADIR@:$(datadir):' $(srcdir)/glpegsolitaire.desktop.in > > glpegsolitaire.desktop.in Yes. If put in a Makefile.am, you won't want the @DATADIR@ to be expanded here, once it ends up in Makefile. A typical way to prevent that from happening is to write it like this: sed 's:[EMAIL PROTECTED]@]:$(datadir):' $(srcdir)/glpegsolitaire.desktop.in > glpegsolitaire.desktop.in Cheers, Ralf