omo lidar com expansões de shell no GNU Make no Ubunt
Dado isso muito simplesMakefile
:
all:
@mkdir -pv test/{a,b}
Recebo essa saída no OS X 10.6.8 e no CentOS 5.5:
mkdir: created directory `test'
mkdir: created directory `test/a'
mkdir: created directory `test/b'
Mas no Ubuntu 11.04 eu recebo isto:
mkdir: created directory `test'
mkdir: created directory `test/{a,b}'
Executando o comandomkdir -pv test/{a,b}
manualmente no shell em todas as plataformas fornece o resultado esperad
A versão do GNU Make é a mesma em todas as plataformas:
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program is built for [PLATFORM]
O que há de diferente no Ubuntu e por que a expansão do shell não funciona l