diff options
Diffstat (limited to '')
-rwxr-xr-x | build.sh | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -1,7 +1,7 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | 2 | ||
3 | BUSRC="stack.cpp string.cpp hash.cpp list.cpp trace.cpp stream.cpp formatter.cpp util.cpp sharedcore.cpp exceptionbase.cpp heap.cpp archivebase.cpp archive.cpp queue.cpp archival.cpp sio.cpp stdstream.cpp process.cpp plugger.cpp optparser.cpp signals.cpp array.cpp membuf.cpp file.cpp regex.cpp variant.cpp" | 3 | BUSRC="stack.cpp string.cpp hash.cpp list.cpp trace.cpp stream.cpp formatter.cpp util.cpp sharedcore.cpp exceptionbase.cpp heap.cpp archivebase.cpp archive.cpp queue.cpp archival.cpp sio.cpp stdstream.cpp process.cpp plugger.cpp optparser.cpp signals.cpp array.cpp membuf.cpp file.cpp regex.cpp variant.cpp" |
4 | BUHDR="stack.h string.h hash.h list.h trace.h stream.h formatter.h util.h sharedcore.h exceptionbase.h heap.h archivebase.h archive.h queue.h archival.h sio.h stdstream.h process.h config.h compat/linux.h compat/win32.h compat/osx.h plugger.h singleton.h optparser.h signals.h array.h membuf.h file.h regex.h variant.h fmt.h extratypes.h" | 4 | BUHDR="stack.h string.h hash.h list.h trace.h stream.h formatter.h util.h sharedcore.h exceptionbase.h heap.h archivebase.h archive.h queue.h archival.h sio.h stdstream.h process.h config.h compat/linux.h compat/win32.h compat/osx.h plugger.h singleton.h optparser.h array.h membuf.h file.h regex.h variant.h fmt.h extratypes.h" |
5 | 5 | ||
6 | function bld() | 6 | function bld() |
7 | { | 7 | { |
@@ -44,8 +44,14 @@ if [ ! -z "$1" ]; then | |||
44 | fi | 44 | fi |
45 | fi | 45 | fi |
46 | 46 | ||
47 | mkdir -p minibu/src minibu/bu minibu/bu/compat | 47 | for dir in minibu/src minibu/bu minibu/bu/compat; do |
48 | touch minibu/bu/autoconfig.h | 48 | cmd MKDIR ${dir} mkdir -p ${dir} |
49 | done | ||
50 | cmd FAKE minibu/bu/autoconfig.h touch minibu/bu/autoconfig.h | ||
51 | for file in $(cd bootstrap; ls); do | ||
52 | cmd BOOTSTRAP minibu/bu/${file} cp bootstrap/${file} minibu/bu | ||
53 | done | ||
54 | exit | ||
49 | for F in $BUSRC; do | 55 | for F in $BUSRC; do |
50 | bld minibu/src/$F || cmd WGET minibu/src/$F wget -q http://svn.xagasoft.com/libbu++/trunk/src/$F -O minibu/src/$F | 56 | bld minibu/src/$F || cmd WGET minibu/src/$F wget -q http://svn.xagasoft.com/libbu++/trunk/src/$F -O minibu/src/$F |
51 | done | 57 | done |