mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Support out of tree builds
This commit is contained in:
parent
45b43e52e1
commit
b98eee0e46
6 changed files with 30 additions and 18 deletions
10
configure
vendored
10
configure
vendored
|
@ -1,4 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
sed "s/%VPATH%/`dirname $0`/" `dirname $0`/Makefile.in > Makefile
|
||||
SRCDIR="$(cd $(dirname $0) && pwd)"
|
||||
sed "s#%VPATH%#${SRCDIR}#" ${SRCDIR}/Makefile.in > Makefile
|
||||
|
||||
mkdir -p src/rust-sdl
|
||||
mkdir -p src/rust-azure
|
||||
mkdir -p src/rust-cocoa
|
||||
|
||||
(cd src/rust-sdl && sh ${SRCDIR}/src/rust-sdl/configure)
|
||||
(cd src/rust-azure && sh ${SRCDIR}/src/rust-azure/configure)
|
||||
(cd src/rust-cocoa && sh ${SRCDIR}/src/rust-cocoa/configure)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue