Thank you Nick, Eli and Florian
I have solved the issue based on your suggestons in a simplified way.
1. Created a template .desktop file
2. Inserted the libexecdir from the Makefile
https://github.com/kochstefan/usbauth-all/commit/062630bde0e27a5a6dce49819fc7c8ce64ff5964
Best regards
Stefan
Previous thread about essentially the same issue:
From: Florian Weimer
Subject: Using @bindir@ etc. in C headers
To: autoconf@gnu.org
Date: Fri, 05 Jun 2020 12:57:48 +0200
Message-ID: <87ftb9u6dv@oldenburg2.str.redhat.com>
I must say the current approach is a bit painful.
Thanks,
Florian
--
On 2021-01-19, Eli Schwartz wrote:
> On 1/18/21 11:24 PM, Nick Bowler wrote:
>> This is the only way to make your package follow the GNU coding
>> standards, which says users must be able to override these variables
>> on the make command line. For example:
>>
>>% ./configure
>>% make ins
On 1/18/21 11:24 PM, Nick Bowler wrote:
On 2021-01-18, Stefan Koch wrote:
The line:
Exec=@libexecdir@/usbauth-notifier/usbauth-notifier
from
https://github.com/kochstefan/usbauth-all/blob/master/usbauth-notifier/data/usbauth-notifier.desktop.in
will expanded to:
Exec=${exec_prefix}/libexec/us
On 2021-01-18, Stefan Koch wrote:
> The line:
> Exec=@libexecdir@/usbauth-notifier/usbauth-notifier
>
> from
> https://github.com/kochstefan/usbauth-all/blob/master/usbauth-notifier/data/usbauth-notifier.desktop.in
>
> will expanded to:
> Exec=${exec_prefix}/libexec/usbauth-notifier/usbauth-notifi
Hi
The line:
Exec=@libexecdir@/usbauth-notifier/usbauth-notifier
from
https://github.com/kochstefan/usbauth-all/blob/master/usbauth-notifier/data/usbauth-notifier.desktop.in
will expanded to:
Exec=${exec_prefix}/libexec/usbauth-notifier/usbauth-notifier
But desktop-Files doesn't allow variab