llvm/llvm-build-examples.sh.in
Michel Alexandre Salim fc7190b55a - Update to 2.5 (devel branch)
- Package build scripts (bug #457881)
2009-03-05 00:27:31 +00:00

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