Last change
on this file since 155 was
127,
checked in by landauf, 9 years ago
|
fixed some target paths for cp -aT
fixed cleaning boost
+ some details
|
-
Property svn:eol-style set to
native
|
File size:
703 bytes
|
Rev | Line | |
---|
[126] | 1 | #!/bin/sh |
---|
| 2 | |
---|
| 3 | NAME="[xerces]" |
---|
| 4 | WORKING_DIR="xerces/xerces-c-3.1.2" |
---|
| 5 | |
---|
| 6 | source ./build_common.sh |
---|
| 7 | |
---|
| 8 | if [ $DO_CLEAN -eq 1 ] |
---|
| 9 | then |
---|
| 10 | make clean |
---|
| 11 | check_result $? "cleaning build" |
---|
| 12 | fi |
---|
| 13 | |
---|
| 14 | if [ $DO_BUILD -eq 1 ] |
---|
| 15 | then |
---|
| 16 | # configure |
---|
| 17 | ./configure |
---|
| 18 | check_result $? "configure" |
---|
| 19 | |
---|
| 20 | # compile |
---|
| 21 | make -j8 |
---|
| 22 | check_result $? "make" |
---|
| 23 | |
---|
| 24 | # add to ceguideps |
---|
| 25 | mkdir -p "${TEMP_DIR}/ceguideps/lib" |
---|
| 26 | check_result $? "create lib dir" |
---|
| 27 | mkdir -p "${TEMP_DIR}/ceguideps/include" |
---|
| 28 | check_result $? "create include dir" |
---|
| 29 | |
---|
| 30 | cp -a "src/.libs/libxerces-c.a" "${TEMP_DIR}/ceguideps/lib" |
---|
| 31 | check_result $? "copy lib" |
---|
[127] | 32 | cp -aT "src/xercesc" "${TEMP_DIR}/ceguideps/include/xercesc" |
---|
[126] | 33 | check_result $? "copy includes" |
---|
| 34 | |
---|
| 35 | echo "${NAME} Finished building ${NAME}" |
---|
| 36 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.