diff --git a/lib/spack/docs/features.rst b/lib/spack/docs/features.rst index 91184a3390e77fb44aaff62062a804e779566164..9ccf1a85fc0a254438f3e4bad28e7c671276e0d2 100644 --- a/lib/spack/docs/features.rst +++ b/lib/spack/docs/features.rst @@ -102,6 +102,7 @@ It typically doesn't take much python coding to get from there to a working package file: .. literalinclude:: ../spack/packages/libelf.py + :lines: 25- Spack also provides wrapper functions around common commands like ``configure``, ``make``, and ``cmake`` to make writing packages diff --git a/lib/spack/docs/packaging_guide.rst b/lib/spack/docs/packaging_guide.rst index 75e738efcda4614d4ba6db636a3398aa37485cfe..60c15895d166f20daa1562eb988986e4dac76590 100644 --- a/lib/spack/docs/packaging_guide.rst +++ b/lib/spack/docs/packaging_guide.rst @@ -42,6 +42,7 @@ It's probably easiest to learn about packages by looking at an example. Let's take a look at ``libelf.py``: .. literalinclude:: ../spack/packages/libelf.py + :lines: 25- :linenos: Directory Structure