Pedro, Can I commit this patch, and a similar one for the cegcc script? One of the issues might be where to install the documentation, another is where to install the whole toolchain (currently this is what you wrote in it - /opt/mingw32ce ).
The reason I'm also asking about the installation path is I'd want to create an RPM based on these scripts. Do we keep the funky path for now (I used to do the same with my scripts in scripts/linux), or do we move to a "standard" place. Danny -- Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info
Index: build-mingw32ce.sh =================================================================== --- build-mingw32ce.sh (revision 835) +++ build-mingw32ce.sh (working copy) @@ -233,6 +233,22 @@ cd ${BASE_DIRECTORY} || exit 1 } +function build_docs() +{ + echo "" + echo "INSTALLING documentation --------------------------" + echo "" + echo "" + + mkdir -p ${PREFIX}/share/docs || exit 1 + mkdir -p ${PREFIX}/share/images || exit 1 + + cd ${BASE_DIRECTORY}/../docs || exit 1 + tar cf - . | (cd ${PREFIX}/share/docs; tar xf -) || exit 1 + cd ${BASE_DIRECTORY}/../website || exit 1 + tar cf - images | (cd ${PREFIX}/share; tar xf -) || exit 1 +} + function build_all { build_binutils @@ -244,6 +260,7 @@ build_gcc build_gdb build_gdbstub + build_docs } case $BUILD_OPT in @@ -260,6 +277,7 @@ gcc) build_gcc ;; gdb) build_gdb ;; gdbstub) build_gdbstub ;; + docs) build_docs ;; all) build_all ;; *) echo "Please enter a valid build option." ;; esac
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel