summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Engelbrecht <sudoman@ninthfloor.org>2011-08-02 21:47:58 -0400
committerAndrew Engelbrecht <sudoman@ninthfloor.org>2011-08-02 21:47:58 -0400
commit635249e589fba5c0900923e1bbf1d2e60a3c1f29 (patch)
treec1580b4ed98960d056bd26b6dc402b342ad15653
parent7466fb272d4941e71024068949d26891881a081c (diff)
Separate Debian and non-Debian build instructions
-rw-r--r--microkernel/mach/mig/gnu_mig/building.mdwn29
1 files changed, 14 insertions, 15 deletions
diff --git a/microkernel/mach/mig/gnu_mig/building.mdwn b/microkernel/mach/mig/gnu_mig/building.mdwn
index 33507283..7d2f2ea3 100644
--- a/microkernel/mach/mig/gnu_mig/building.mdwn
+++ b/microkernel/mach/mig/gnu_mig/building.mdwn
@@ -4,8 +4,7 @@ If you want to build the Mach Interface Generator yourself instead of just using
## <a name="Getting_the_Source_Code"> Getting the Source Code </a>
-You can chose between getting the [sources from the developers'
-RCS](http://savannah.gnu.org/git/?group=hurd):
+You can chose between getting the [sources from the developers' RCS](http://savannah.gnu.org/git/?group=hurd):
$ git clone git://git.savannah.gnu.org:/srv/git/hurd/mig.git
@@ -17,25 +16,16 @@ Please see the Debian [[hurd/running/debian/FAQ]] before using _apt-get source_.
The unpacked source tree is around 1 MiB, and the build tree also is around 1 MiB.
-## <a name="Preparing_for_the_Build"> Preparing for the Build </a>
+## <a name="_on_Debian_systems"> On Debian Systems: </a>
-### <a name="_on_Debian_systems"> ... on Debian systems </a>
+### <a name="Preparing_for_the_Build"> Preparing for the Build </a>
Building the Mach Interface Generator requires the _build-essential_ and _fakeroot_ packages, their dependencies and additional packages that are specified by the source mig package:
# apt-get install build-essential fakeroot
# apt-get build-dep mig
-### <a name="_on_non_Debian_systems"> ... on non-Debian systems </a>
-
-Building the Mach Interface Generator requires a C compiler, a standard C library (with corresponding header files) and your favourite flavor of awk (gawk), yacc (bison), lex (flex) and make.
-
-Additionally, you need to have GNU Mach's header files installed. See
-[[mach/gnumach/building]] about how to do that, then come back here.
-
-## <a name="Building_and_Installing"> Building and Installing </a>
-
-### <a name="_a_deb_file"> ... a _.deb_ file </a>
+### <a name="Building_and_Installing"> Building and Installing </a> <a name="_a_deb_file"> ... a _.deb_ file </a>
Change into the directory with the downloaded / unpacked MIG sources (_mig-1.3.1.99_):
@@ -47,7 +37,16 @@ Start the build process:
You can then install / distribute the _.deb_ file which will drop out one directory above the current one.
-### <a name="_TODO_"> [TODO] </a>
+## <a name="_on_non_Debian_systems"> On non-Debian Systems: </a>
+
+### <a name="Preparing_for_the_Build"> Preparing for the Build </a>
+
+Building the Mach Interface Generator requires a C compiler, a standard C library (with corresponding header files) and your favourite flavor of awk (gawk), yacc (bison), lex (flex) and make.
+
+Additionally, you need to have GNU Mach's header files installed. See
+[[mach/gnumach/building]] about how to do that, then come back here.
+
+### <a name="Building_and_Installing"> Building and Installing </a>
The Mach Interface Generator has to be built in a separate directory: