Changeset 128

Show
Ignore:
Timestamp:
11/26/05 00:10:11 (3 years ago)
Author:
aldacron
Message:

* added updated Linux build scripts from Lucas Goss
* updated all docs with the proper Linux build instructions (sh build-linux.sh, not ./build-linux.sh)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/DerelictAL/README

    r126 r128  
    2525configuring Derelict's Build scripts. 
    26262) from a command prompt, cd to <derelict_dir>/DerelictAL 
    27 3) type ./build-linux 
     273) type sh build-linux.sh 
    28284) when the build completes, libderelictAL.a will be located in <derelict_dir>\lib. 
  • trunk/DerelictAL/build-linux.sh

    r126 r128  
    33CLEANUP=0 
    44 
    5 if [ -x "build-config.sh" ]; then 
    6     `./build-config.sh $@` 
     5if [ -f "build-config.sh" ]; then 
     6    `sh build-config.sh $@` 
    77else 
    88    CLEANUP=1 
    99    cd .. 
    10     if [ -x "build-config.sh" ]; then 
    11         `./build-config.sh $@` 
     10    if [ -f "build-config.sh" ]; then 
     11        `sh build-config.sh $@` 
    1212    else 
    1313        echo "build-config.sh not found!" 
  • trunk/DerelictGL/README

    r126 r128  
    2525configuring Derelict's Build scripts. 
    26262) from a command prompt, cd to <derelict_dir>/DerelictGL 
    27 3) type ./build-linux 
     273) type sh build-linux.sh 
    28284) when the build completes, libderelictGL.a will be located in <derelict_dir>\lib. 
  • trunk/DerelictGL/build-linux.sh

    r126 r128  
    33CLEANUP=0 
    44 
    5 if [ -x "build-config.sh" ]; then 
    6     `./build-config.sh $@` 
     5if [ -f "build-config.sh" ]; then 
     6    `sh build-config.sh $@` 
    77else 
    88    CLEANUP=1 
    99    cd .. 
    10     if [ -x "build-config.sh" ]; then 
    11         `./build-config.sh $@` 
     10    if [ -f "build-config.sh" ]; then 
     11        `sh build-config.sh $@` 
    1212    else 
    1313        echo "build-config.sh not found!" 
  • trunk/DerelictGLFW/README

    r126 r128  
    2323configuring Derelict's Build scripts. 
    24242) from a command prompt, cd to <derelict_dir>/DerelictGLFW 
    25 3) type ./build-linux 
     253) type sh build-linux.sh 
    26264) when the build completes, libderelictGLFW.a will be located in <derelict_dir>\lib. 
    2727 
  • trunk/DerelictGLFW/build-linux.sh

    r126 r128  
    33CLEANUP=0 
    44 
    5 if [ -x "build-config.sh" ]; then 
    6     `./build-config.sh $@` 
     5if [ -f "build-config.sh" ]; then 
     6    `sh build-config.sh $@` 
    77else 
    88    CLEANUP=1 
    99    cd .. 
    10     if [ -x "build-config.sh" ]; then 
    11         `./build-config.sh $@` 
     10    if [ -f "build-config.sh" ]; then 
     11        `sh build-config.sh $@` 
    1212    else 
    1313        echo "build-config.sh not found!" 
  • trunk/DerelictGLU/README

    r126 r128  
    2525configuring Derelict's Build scripts. 
    26262) from a command prompt, cd to <derelict_dir>/DerelictGLU 
    27 3) type ./build-linux 
     273) type sh build-linux.sh 
    28284) when the build completes, libderelictGLU.a will be located in <derelict_dir>\lib. 
  • trunk/DerelictGLU/build-linux.sh

    r126 r128  
    33CLEANUP=0 
    44 
    5 if [ -x "build-config.sh" ]; then 
    6     `./build-config.sh $@` 
     5if [ -f "build-config.sh" ]; then 
     6    `sh build-config.sh $@` 
    77else 
    88    CLEANUP=1 
    99    cd .. 
    10     if [ -x "build-config.sh" ]; then 
    11         `./build-config.sh $@` 
     10    if [ -f "build-config.sh" ]; then 
     11        `sh build-config.sh $@` 
    1212    else 
    1313        echo "build-config.sh not found!" 
  • trunk/DerelictIL/README

    r127 r128  
    2525configuring Derelict's Build scripts. 
    26262) from a command prompt, cd to <derelict_dir>/DerelictIL 
    27 3) type ./build-linux 
     273) type sh build-linux.sh 
    28284) when the build completes, libderelictIL.a will be located in <derelict_dir>\lib. 
  • trunk/DerelictIL/build-linux.sh

    r126 r128  
    33CLEANUP=0 
    44 
    5 if [ -x "build-config.sh" ]; then 
    6     `./build-config.sh $@` 
     5if [ -f "build-config.sh" ]; then 
     6    `sh build-config.sh $@` 
    77else 
    88    CLEANUP=1 
    99    cd .. 
    10     if [ -x "build-config.sh" ]; then 
    11         `./build-config.sh $@` 
     10    if [ -f "build-config.sh" ]; then 
     11        `sh build-config.sh $@` 
    1212    else 
    1313        echo "build-config.sh not found!" 
  • trunk/DerelictILU/README

    r127 r128  
    2525configuring Derelict's Build scripts. 
    26262) from a command prompt, cd to <derelict_dir>/DerelictILU 
    27 3) type ./build-linux 
     273) type sh build-linux.sh 
    28284) when the build completes, libderelictILU.a will be located in <derelict_dir>\lib. 
  • trunk/DerelictILU/build-linux.sh

    r126 r128  
    33CLEANUP=0 
    44 
    5 if [ -x "build-config.sh" ]; then 
    6     `./build-config.sh $@` 
     5if [ -f "build-config.sh" ]; then 
     6    `sh build-config.sh $@` 
    77else 
    88    CLEANUP=1 
    99    cd .. 
    10     if [ -x "build-config.sh" ]; then 
    11         `./build-config.sh $@` 
     10    if [ -f "build-config.sh" ]; then 
     11        `sh build-config.sh $@` 
    1212    else 
    1313        echo "build-config.sh not found!" 
  • trunk/DerelictILUT/README

    r127 r128  
    2525configuring Derelict's Build scripts. 
    26262) from a command prompt, cd to <derelict_dir>/DerelictILUT 
    27 3) type ./build-linux 
     273) type sh build-linux.sh 
    28284) when the build completes, libderelictILUT.a will be located in <derelict_dir>\lib. 
  • trunk/DerelictILUT/build-linux.sh

    r126 r128  
    33CLEANUP=0 
    44 
    5 if [ -x "build-config.sh" ]; then 
    6     `./build-config.sh $@` 
     5if [ -f "build-config.sh" ]; then 
     6    `sh build-config.sh $@` 
    77else 
    88    CLEANUP=1 
    99    cd .. 
    10     if [ -x "build-config.sh" ]; then 
    11         `./build-config.sh $@` 
     10    if [ -f "build-config.sh" ]; then 
     11        `sh build-config.sh $@` 
    1212    else 
    1313        echo "build-config.sh not found!" 
  • trunk/DerelictSDL/README

    r126 r128  
    2525configuring Derelict's Build scripts. 
    26262) from a command prompt, cd to <derelict_dir>/DerelictSDL 
    27 3) type ./build-linux 
     273) type sh build-linux.sh 
    28284) when the build completes, libderelictSDL.a will be located in <derelict_dir>\lib. 
  • trunk/DerelictSDL/build-linux.sh

    r126 r128  
    33CLEANUP=0 
    44 
    5 if [ -x "build-config.sh" ]; then 
    6     `./build-config.sh $@` 
     5if [ -f "build-config.sh" ]; then 
     6    `sh build-config.sh $@` 
    77else 
    88    CLEANUP=1 
    99    cd .. 
    10     if [ -x "build-config.sh" ]; then 
    11         `./build-config.sh $@` 
     10    if [ -f "build-config.sh" ]; then 
     11        `sh build-config.sh $@` 
    1212    else 
    1313        echo "build-config.sh not found!" 
  • trunk/DerelictSDLImage/README

    r126 r128  
    2525configuring Derelict's Build scripts. 
    26262) from a command prompt, cd to <derelict_dir>/DerelictSDLImage 
    27 3) type ./build-linux 
     273) type sh build-linux.sh 
    28284) when the build completes, libderelictSDLImage.a will be located in <derelict_dir>\lib. 
  • trunk/DerelictSDLImage/build-linux.sh

    r126 r128  
    33CLEANUP=0 
    44 
    5 if [ -x "build-config.sh" ]; then 
    6     `./build-config.sh $@` 
     5if [ -f "build-config.sh" ]; then 
     6    `sh build-config.sh $@` 
    77else 
    88    CLEANUP=1 
    99    cd .. 
    10     if [ -x "build-config.sh" ]; then 
    11         `./build-config.sh $@` 
     10    if [ -f "build-config.sh" ]; then 
     11        `sh build-config.sh $@` 
    1212    else 
    1313        echo "build-config.sh not found!" 
  • trunk/DerelictSDLMixer/README

    r126 r128  
    2828configuring Derelict's Build scripts. 
    29292) from a command prompt, cd to <derelict_dir>/DerelictSDLMixer 
    30 3) type ./build-linux 
     303) type sh build-linux.sh 
    31314) when the build completes, libderelictSDLMixer.a will be located in <derelict_dir>\lib. 
  • trunk/DerelictSDLMixer/build-linux.sh

    r126 r128  
    33CLEANUP=0 
    44 
    5 if [ -x "build-config.sh" ]; then 
    6     `./build-config.sh $@` 
     5if [ -f "build-config.sh" ]; then 
     6    `sh build-config.sh $@` 
    77else 
    88    CLEANUP=1 
    99    cd .. 
    10     if [ -x "build-config.sh" ]; then 
    11         `./build-config.sh $@` 
     10    if [ -f "build-config.sh" ]; then 
     11        `sh build-config.sh $@` 
    1212    else 
    1313        echo "build-config.sh not found!" 
  • trunk/DerelictSDLNet/README

    r126 r128  
    2828configuring Derelict's Build scripts. 
    29292) from a command prompt, cd to <derelict_dir>/DerelictSDLNet 
    30 3) type ./build-linux 
     303) type sh build-linux.sh 
    31314) when the build completes, libderelictSDLNet.a will be located in <derelict_dir>\lib. 
  • trunk/DerelictSDLNet/build-linux.sh

    r126 r128  
    33CLEANUP=0 
    44 
    5 if [ -x "build-config.sh" ]; then 
    6     `./build-config.sh $@` 
     5if [ -f "build-config.sh" ]; then 
     6    `sh build-config.sh $@` 
    77else 
    88    CLEANUP=1 
    99    cd .. 
    10     if [ -x "build-config.sh" ]; then 
    11         `./build-config.sh $@` 
     10    if [ -f "build-config.sh" ]; then 
     11        `sh build-config.sh $@` 
    1212    else 
    1313        echo "build-config.sh not found!" 
  • trunk/DerelictSDLttf/README

    r126 r128  
    2424configuring Derelict's Build scripts. 
    25252) from a command prompt, cd to <derelict_dir>/DerelictSDLttf 
    26 3) type ./build-linux 
     263) type sh build-linux.sh 
    27274) when the build completes, libderelictSDLttf.a will be located in <derelict_dir>\lib. 
  • trunk/DerelictSDLttf/build-linux.sh

    r126 r128  
    33CLEANUP=0 
    44 
    5 if [ -x "build-config.sh" ]; then 
    6     `./build-config.sh $@` 
     5if [ -f "build-config.sh" ]; then 
     6    `sh build-config.sh $@` 
    77else 
    88    CLEANUP=1 
    99    cd .. 
    10     if [ -x "build-config.sh" ]; then 
    11         `./build-config.sh $@` 
     10    if [ -f "build-config.sh" ]; then 
     11        `sh build-config.sh $@` 
    1212    else 
    1313        echo "build-config.sh not found!" 
  • trunk/DerelictUtil/build-linux.sh

    r126 r128  
    33CLEANUP=0 
    44 
    5 if [ -x "build-config.sh" ]; then 
    6     `./build-config.sh $@` 
     5if [ -f "build-config.sh" ]; then 
     6    `sh build-config.sh $@` 
    77else 
    88    CLEANUP=1 
    99    cd .. 
    10     if [ -x "build-config.sh" ]; then 
    11         `./build-config.sh $@` 
     10    if [ -f "build-config.sh" ]; then 
     11        `sh build-config.sh $@` 
    1212    else 
    1313        echo "build-config.sh not found!" 
  • trunk/build-linux.sh

    r126 r128  
    11#!/bin/sh 
    22 
    3 ./build-config.sh $@ 
     3sh build-config.sh $@ 
    44 
    55# derelict libs 
     
    2121# build libs 
    2222for Library in $DERELICT_LIBRARIES; do 
    23     if [ -x "$Library/build-linux.sh" ]; then 
     23    if [ -f "$Library/build-linux.sh" ]; then 
    2424        echo "Building $Library ..." 
    25         $Library/build-linux.sh $@ 
     25        sh $Library/build-linux.sh $@ 
    2626    fi 
    2727done 
  • trunk/docs/al.html

    r126 r128  
    9494configuring Derelict's Build scripts.</li> 
    9595<li>from a command prompt, cd to <derelict_dir>/DerelictAL</li> 
    96 <li>type ./build-linux</li> 
     96<li>type sh build-linux.sh</li> 
    9797<li>when the build completes, libderelictAL.a will be located in <derelict_dir>/lib.</li> 
    9898</ol></p> 
  • trunk/docs/build.html

    r126 r128  
    5252<ol> 
    5353<li>CD to the top-level Derelict directory.</li> 
    54 <li>type <tt>buildme</tt> on windows, or <tt>./build-linux</tt> on Linux.</li> 
     54<li>type <tt>buildme</tt> on windows, or <tt>sh build-linux.sh</tt> on Linux.</li> 
    5555</ol> 
    5656</p><p> 
     
    6161you can execute the <tt>cleanlib</tt> script in the top-level Derelict directory. 
    6262On Linux, you can execute the build-linux script in the top-level directory with 
    63 the '-cleanlib' command line parameter (<tt>./build-linux -cleanlib</tt>. 
     63the '-cleanlib' command line parameter (<tt>sh build-linux.sh -cleanlib</tt>. 
    6464</p>  
    6565<p> 
     
    6767(-debug -g with DMD). Passing 'release' as an argument to the <tt>buildme</tt> 
    6868command, or '-release' to the <tt>build-linux</tt> command (<tt>buildme release</tt>  
    69 or <tt>./build-linux -release</tt> will cause the Derelict libraries to be built 
     69or <tt>sh build-linux.sh -release</tt> will cause the Derelict libraries to be built 
    7070in release mode (-release -O with DMD). 
    7171 
     
    7676<p><ol> 
    7777<li>CD to the package's directory ([derelict_dir]/[package_name]).</li> 
    78 <li>type <tt>buildme</tt> on windows, or <tt>./build-linux</tt> on Linux.</li> 
     78<li>type <tt>buildme</tt> on windows, or <tt>sh build-linux.sh</tt> on Linux.</li> 
    7979</ol> 
    8080</p><p> 
  • trunk/docs/gl.html

    r126 r128  
    8383configuring Derelict's Build scripts.</li> 
    8484<li>from a command prompt, cd to <derelict_dir>/DerelictGL</li> 
    85 <li>type ./build-linux</li> 
     85<li>type sh build-linux.sh</li> 
    8686<li>when the build completes, libderelictGL.a will be located in <derelict_dir>/lib.</li> 
    8787</ol></p> 
  • trunk/docs/glfw.html

    r126 r128  
    9090configuring Derelict's Build scripts.</li> 
    9191<li>from a command prompt, cd to <derelict_dir>/DerelictGLFW</li> 
    92 <li>type ./build-linux</li> 
     92<li>type sh build-linux.sh</li> 
    9393<li>when the build completes, libderelictGLFW.a will be located in <derelict_dir>/lib.</li> 
    9494</ol></p> 
  • trunk/docs/glu.html

    r126 r128  
    102102configuring Derelict's Build scripts.</li> 
    103103<li>from a command prompt, cd to <derelict_dir>/DerelictGLU</li> 
    104 <li>type ./build-linux</li> 
     104<li>type sh build-linux.sh</li> 
    105105<li>when the build completes, libderelictGLU.a will be located in <derelict_dir>/lib.</li> 
    106106</ol></p> 
  • trunk/docs/il.html

    r126 r128  
    8080configuring Derelict's Build scripts.</li> 
    8181<li>from a command prompt, cd to <derelict_dir>/DerelictIL</li> 
    82 <li>type ./build-linux</li> 
     82<li>type sh build-linux.sh</li> 
    8383<li>when the build completes, libderelictIL.a will be located in <derelict_dir>/lib.</li> 
    8484</ol></p> 
  • trunk/docs/ilu.html

    r126 r128  
    8080configuring Derelict's Build scripts.</li> 
    8181<li>from a command prompt, cd to <derelict_dir>/DerelictILU</li> 
    82 <li>type ./build-linux</li> 
     82<li>type sh build-linux.sh</li> 
    8383<li>when the build completes, libderelictILU.a will be located in <derelict_dir>/lib.</li> 
    8484</ol></p> 
  • trunk/docs/ilut.html

    r126 r128  
    8080configuring Derelict's Build scripts.</li> 
    8181<li>from a command prompt, cd to <derelict_dir>/DerelictILUT</li> 
    82 <li>type ./build-linux</li> 
     82<li>type sh build-linux.sh</li> 
    8383<li>when the build completes, libderelictILUT.a will be located in <derelict_dir>/lib.</li> 
    8484</ol></p> 
  • trunk/docs/sdl.html

    r126 r128  
    9393configuring Derelict's Build scripts.</li> 
    9494<li>from a command prompt, cd to <derelict_dir>/DerelictSDL</li> 
    95 <li>type ./build-linux</li> 
     95<li>type sh build-linux.sh</li> 
    9696<li>when the build completes, libderelictSDL.a will be located in <derelict_dir>/lib.</li> 
    9797</ol></p> 
  • trunk/docs/sdlimg.html

    r126 r128  
    8181configuring Derelict's Build scripts.</li> 
    8282<li>from a command prompt, cd to <derelict_dir>/DerelictSDLImage</li> 
    83 <li>type ./build-linux</li> 
     83<li>type sh build-linux.sh</li> 
    8484<li>when the build completes, libderelictSDLImage.a will be located in <derelict_dir>/lib.</li> 
    8585</ol></p> 
  • trunk/docs/sdlmix.html

    r126 r128  
    8585configuring Derelict's Build scripts.</li> 
    8686<li>from a command prompt, cd to <derelict_dir>/DerelictSDLMixer</li> 
    87 <li>type ./build-linux</li> 
     87<li>type sh build-linux.sh</li> 
    8888<li>when the build completes, libderelictSDLMixer.a will be located in <derelict_dir>/lib.</li> 
    8989</ol></p> 
  • trunk/docs/sdlnet.html

    r126 r128  
    8181configuring Derelict's Build scripts.</li> 
    8282<li>from a command prompt, cd to <derelict_dir>/DerelictSDLNet</li> 
    83 <li>type ./build-linux</li> 
     83<li>type sh build-linux.sh</li> 
    8484<li>when the build completes, libderelictSDLNet.a will be located in <derelict_dir>/lib.</li> 
    8585</ol></p> 
  • trunk/docs/sdlttf.html

    r126 r128  
    8484configuring Derelict's Build scripts.</li> 
    8585<li>from a command prompt, cd to <derelict_dir>/DerelictSDLttf</li> 
    86 <li>type ./build-linux</li> 
     86<li>type sh build-linux.sh</li> 
    8787<li>when the build completes, libderelictSDLttf.a will be located in <derelict_dir>/lib.</li> 
    8888</ol></p>