nir: Allow var_mem_global in nir_lower_vars_to_explicit_types
[mesa.git] / docs / install.rst
index ea8ccc1ad51be60685eebb7eeca4914106aaaa93..bac818b2d8fb653797ee74e6bfa1a77afcb193b8 100644 (file)
@@ -1,18 +1,11 @@
 Compiling and Installing
 ========================
 
-#. `Prerequisites for building <#prereq-general>`__
+.. toctree::
+   :maxdepth: 1
+   :hidden:
 
-   -  `General prerequisites <#prereq-general>`__
-   -  `For DRI and hardware acceleration <#prereq-dri>`__
-
-#. `Building with meson <#meson>`__
-#. `Building with SCons (Windows/Linux) <#scons>`__
-#. `Building with AOSP (Android) <#android>`__
-#. `Library Information <#libs>`__
-#. `Building OpenGL programs with pkg-config <#pkg-config>`__
-
-.. _prereq-general:
+   meson
 
 1. Prerequisites for building
 -----------------------------
@@ -62,10 +55,10 @@ Third party/extra tools.
    For MSVC on Windows, install `Win
    flex-bison <http://winflexbison.sourceforge.net/>`__.
 
-**Note**: Some versions can be buggy (eg. flex 2.6.2) so do try others
-if things fail.
+.. note::
 
-.. _prereq-dri:
+   Some versions can be buggy (eg. flex 2.6.2) so do try others
+   if things fail.
 
 1.2 Requirements
 ~~~~~~~~~~~~~~~~
@@ -85,8 +78,6 @@ on the packaging tool used by your distro.
      apt-get build-dep mesa # Debian and derivatives
      ... # others
 
-.. _meson:
-
 2. Building with meson
 ----------------------
 
@@ -111,11 +102,9 @@ On windows you can also use the visual studio backend
      cd builddir
      msbuild mesa.sln /m
 
-Please read the `detailed meson instructions <meson.html>`__ for more
+Please read the :doc:`detailed meson instructions <meson>` for more
 information
 
-.. _scons:
-
 3. Building with SCons (Windows/Linux)
 --------------------------------------
 
@@ -146,8 +135,6 @@ This will create:
 Put them all in the same directory to test them. Additional information
 is available in `README.WIN32 <README.WIN32>`__.
 
-.. _android:
-
 4. Building with AOSP (Android)
 -------------------------------
 
@@ -161,8 +148,6 @@ the libGLES_mesa library.
 FINISHME: Improve on the instructions add references to Rob H
 repos/Jenkins, Android-x86 and/or other resources.
 
-.. _libs:
-
 5. Library Information
 ----------------------
 
@@ -194,8 +179,6 @@ If you built the DRI hardware drivers, you'll also see the DRI drivers:
 If you built with Gallium support, look in lib/gallium/ for
 Gallium-based versions of libGL and device drivers.
 
-.. _pkg-config:
-
 6. Building OpenGL programs with pkg-config
 -------------------------------------------