hgbook
view en/examples/mq.tarball @ 171:8c1703a98266
Add a dependency on htlatex to HTML targets, even though we don't call it.
If the files it ships with aren't present, we can't build HTML.
If the files it ships with aren't present, we can't build HTML.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Mon Mar 26 23:57:58 2007 -0700 (2007-03-26) |
parents | 5cee64874312 |
children | edd2acc3dbab |
line source
1 #!/bin/bash
3 cp $EXAMPLE_DIR/data/netplug-*.tar.bz2 .
4 ln -s /bin/true download
6 #$ name: download
8 download netplug-1.2.5.tar.bz2
9 tar jxf netplug-1.2.5.tar.bz2
10 cd netplug-1.2.5
11 hg init
12 hg commit -q --addremove --message netplug-1.2.5
13 cd ..
14 hg clone netplug-1.2.5 netplug
16 #$ name:
18 cd netplug
19 echo '[extensions]' >> $HGRC
20 echo 'hgext.mq =' >> $HGRC
21 cd ..
23 #$ name: qinit
25 cd netplug
26 hg qinit
27 hg qnew -m 'fix build problem with gcc 4' build-fix.patch
28 perl -pi -e 's/int addr_len/socklen_t addr_len/' netlink.c
29 hg qrefresh
30 hg tip -p
32 #$ name: newsource
34 hg qpop -a
35 cd ..
36 download netplug-1.2.8.tar.bz2
37 hg clone netplug-1.2.5 netplug-1.2.8
38 cd netplug-1.2.8
39 hg locate -0 | xargs -0 rm
40 cd ..
41 tar jxf netplug-1.2.8.tar.bz2
42 cd netplug-1.2.8
43 hg commit --addremove --message netplug-1.2.8
45 #$ name: repush
47 cd ../netplug
48 hg pull ../netplug-1.2.8
49 hg qpush -a