[PATCH] Capitalize package name and add capitalized tar-ball prefix
Henrik Brautaset Aronsen
subsurface at henrik.synth.no
Sun May 12 10:52:14 PDT 2013
Thiago Macieira wrote:
> On domingo, 12 de maio de 2013 18.34.32, Cristian Ionescu-Idbohrn wrote:
>> NAME = subsurface
>> +CAPITALIZED_NAME = $(shell _name=$(NAME); \
>> + _rest=$${_name\#?}; \
>> + _1st=$$(echo $${_name%$$_rest} | tr a-z
>> A-Z); \ + echo $$_1st$$_rest)
>
> You could just write:
>
> CAPITALIZED_NAME = Subsurface
>
> I'm sure that we can live with the hardcoded name :-)
+1
Let's not over-complicate things :)
Henrik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130512/6b881b47/attachment.html>
More information about the subsurface
mailing list