有些事情是这样的。
install:
echo 'installing node js'
git clone git://github.com/ry/node.git
cd node
./configure
make
sudo make install
cd ..
echo 'install npm'
sudo curl -L https://npmjs.org/install.sh | sh
echo 'installing mocha, chai ... .'
答案 0 :(得分:0)
以下是适合您的makefile版本,
install:
echo 'installing node js'
git clone git://github.com/ry/node.git
cd node; \
./configure; \
make; \
sudo make install