]> git.lyx.org Git - lyx.git/blob - boost/extract.sh
tex2lyx: adapt handling of \fontencoding to LyX 2.x's syntax
[lyx.git] / boost / extract.sh
1 #!/bin/sh
2
3 #
4 # Script to extract only needed boost files using the bcp tool:
5 #
6 # http://www.boost.org/doc/libs/1_47_0/tools/bcp/doc/html/index.html
7 #
8 # Does also work with an outdated bcp version 
9 #
10
11 rm -rf needed
12 mkdir needed
13
14 bcp --boost=$PWD \
15         boost/any.hpp \
16         boost/assert.hpp \
17         boost/bind.hpp \
18         boost/crc.hpp \
19         boost/cstdint.hpp \
20         boost/format.hpp \
21         boost/function.hpp \
22         boost/functional.hpp \
23         boost/lexical_cast.hpp \
24         boost/next_prior.hpp \
25         boost/noncopyable.hpp \
26         boost/regex.hpp \
27         boost/scoped_array.hpp \
28         boost/scoped_ptr.hpp \
29         boost/shared_ptr.hpp \
30         boost/signal.hpp \
31         boost/signals/connection.hpp \
32         boost/signals/trackable.hpp \
33         boost/tokenizer.hpp \
34         boost/tuple/tuple.hpp \
35         \
36         needed
37
38
39 find boost -name \*.hpp | xargs rm
40 find libs  -name \*.cpp | xargs rm
41
42 cp -vR needed/boost .
43 cp -vR needed/libs .
44
45 rm -rf needed
46
47