Re: Executer des commandes shell dans un Makefile

Αρχική Σελίδα

Reply to this message
Συντάκτης: Frédéric
Ημερομηνία:  
Προς: Guilde
Αντικείμενο: Re: Executer des commandes shell dans un Makefile
Le 16/01/2024, Frédéric a écrit :

> TOTO = $(shell echo LANG_${LANG%_*} | tr [:lower:] [:upper:])


Bon, j'ai réussi avec :

TOTO = $(shell expr substr ${LANG} 1 2 | tr [:lower:] [:upper:])

-- 
    Frédéric