fc7190b55a
- Package build scripts (bug #457881)
17 lines
367 B
Bash
17 lines
367 B
Bash
#!/bin/sh
|
|
touch ../config.status 2>/dev/null
|
|
if [ $? != 0 ]; then
|
|
echo Make sure parent directory is writeable.
|
|
echo You can fix this by e.g.
|
|
echo (cd ../ && tar cf - examples) | (cd $HOME && tar xf -)
|
|
exit $?
|
|
else
|
|
chmod +x ../config.status
|
|
for f in Makefile.{common,config,rules}; do
|
|
ln -sf LIBDIR/llvm/build/$f ..
|
|
done
|
|
|
|
make $@
|
|
fi
|
|
|