Skip to content

Commit 346a04c

Browse files
committed
---
yaml --- r: 5916 b: refs/heads/master c: b916c57 h: refs/heads/master v: v3
1 parent 8ba2a50 commit 346a04c

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: bdbeb75bfb868c98d528cdf131c8102c58be195b
2+
refs/heads/master: b916c57021aad82486ab48f8b43243bcf2ac97f3

trunk/src/etc/gyp-uv

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,18 @@
22

33
# This script generates rust compatible makefiles from libuv. When upgrading
44
# libuv, do:
5-
#
5+
# cd $RUST_DIR
6+
# rm -r mk/libuv
67
# cd $LIBUV_DIR
78
# git archive --prefix libuv/ $REVISION > libuv.tar.gz
89
# cd $RUST_DIR/src/rt
910
# rm -r libuv
1011
# tar -xvf $LIBUV_DIR/libuv.tar.gz
11-
# mkdir -p libuv/build
12-
# svn co http://gyp.googlecode.com/svn build/gyp
13-
# cd ../..
14-
# ./etc/src/gyp_uv
12+
# cd libuv
13+
# mkdir build
14+
# svn co http://gyp.googlecode.com/svn/trunk build/gyp
15+
# cd ../../..
16+
# ./src/etc/gyp-uv
1517

1618
set -e
1719

@@ -37,11 +39,11 @@ args="--depth . -Dlibrary=static_library -Dtarget_arch=ia32"
3739

3840
# Comment out the gyp auto regeneration
3941
for os in mac unix win; do
40-
sed -i ".save" \
42+
sed -i".save" \
4143
-e 's/^\(Makefile: $(srcdir)\/src\/rt\/libuv\/uv\.gyp\)/#\1/' \
4244
mk/libuv/$os/Makefile
4345

44-
sed -i ".save" \
46+
sed -i".save" \
4547
-e 's/^\( $(call do_cmd,regen_makefile)\)/#\1/' \
4648
mk/libuv/$os/Makefile
4749

0 commit comments

Comments
 (0)