automake
[Top][All Lists]
Advanced

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

AW: Desktop file and exec path


From: Jurzitza, Dieter
Subject: AW: Desktop file and exec path
Date: Thu, 8 Feb 2007 13:44:50 +0100

Dear listmembers, dear Enrico,
IMHO this is a sed-job to be called from within automake:

cutcutcutcutcutcutcutcutcutcutcutcutcutcutcutcutcutcutcutcutcutcutcutcut
#!/bin/sh
MYNAME=$1
cp -p desktop desktop.save
sed "s/Exec=.*/Exec=${MYNAME}/g" desktop.save > desktop
rm -f desktop.save
cutcutcutcutcutcutcutcutcutcutcutcutcutcutcutcutcutcutcutcutcutcutcutcut

put that into a file and give it the target entry for Exec= as a parameter, 
such as

myscript otto

should replace the Exec=<something> by Exec=otto

This in turn would have to be entered into the automake process.
Take care


Dieter

-- 
________________________________________________

HARMAN BECKER AUTOMOTIVE SYSTEMS

Dr.-Ing. Dieter Jurzitza
Manager Hardware Systems
   System Development

Industriegebiet Ittersbach
Becker-Göring Str. 16
D-76307 Karlsbad / Germany

Phone:  +49 (0)7248 71-1577
Mobile: +49 0151 - 16 339 017
Fax:    +49 (0)7248 71-1216
eMail:  address@hidden
Internet: http://www.becker.de
 

> -----Ursprüngliche Nachricht-----
> Von: address@hidden 
> [mailto:address@hidden 
> Im Auftrag von Enrico Sardi
*****
> Exec field will be replaced by the value of the $(datadir)  
> variable. Is 
*****


*******************************************
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte 
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und 
loeschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe 
dieser Mail ist nicht gestattet.
 
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and delete this e-mail. Any unauthorized copying, 
disclosure or distribution of the contents in this e-mail is strictly forbidden.
*******************************************





reply via email to

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