mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-12-01 03:32:55 +00:00
3cd63a0c18
- Package build scripts (bug #457881)
16 lines
367 B
Bash
16 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
|
|
|