Scripted Compilation on Linux Debian/Ubuntu: Difference between revisions

Jump to navigation Jump to search
Line 162: Line 162:
The script by default (without any option) will only compile FlightGear and Fgrun. To make it compile all, you need to launch the script with the ''ALL'' parameter. i.e.:
The script by default (without any option) will only compile FlightGear and Fgrun. To make it compile all, you need to launch the script with the ''ALL'' parameter. i.e.:
<pre>
<pre>
sh download_and_compile.sh ALL
./download_and_compile.sh ALL
</pre>
</pre>


Line 182: Line 182:
This will only update FGFS
This will only update FGFS
<pre>
<pre>
sh download_and_compile.sh FGFS UPDATE
./download_and_compile.sh FGFS UPDATE
</pre>
</pre>


Line 188: Line 188:
Even if the script fetches data and sources from bleeding edge developers repositories (which sometimes do not compile), you can still force the script to download latest known versions of the software that were compiling successfully by adding the -s option.
Even if the script fetches data and sources from bleeding edge developers repositories (which sometimes do not compile), you can still force the script to download latest known versions of the software that were compiling successfully by adding the -s option.
<pre>
<pre>
sh download_and_compile.sh -s
./download_and_compile.sh -s
</pre>
</pre>


Line 202: Line 202:
For example, if you are a developer and wish to quickly recompile and reinstall only your own modifications for FlightGear do this:
For example, if you are a developer and wish to quickly recompile and reinstall only your own modifications for FlightGear do this:
<pre>
<pre>
sh download_and_compile.sh -p n -d n -r n  FGFS
./download_and_compile.sh -p n -d n -r n  FGFS
</pre>
</pre>


577

edits

Navigation menu