automake
[Top][All Lists]
Advanced

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

Re: Desktop file and exec path


From: Ralf Wildenhues
Subject: Re: Desktop file and exec path
Date: Thu, 8 Feb 2007 17:59:19 +0100
User-agent: Mutt/1.5.13 (2007-02-07)

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:address@hidden@]:$(datadir):' 
$(srcdir)/glpegsolitaire.desktop.in > glpegsolitaire.desktop.in

Cheers,
Ralf




reply via email to

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