diff options
Diffstat (limited to '')
-rw-r--r-- | docs/creating_a_rock.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/creating_a_rock.md b/docs/creating_a_rock.md index 1d42b07f..a5441ea4 100644 --- a/docs/creating_a_rock.md +++ b/docs/creating_a_rock.md | |||
@@ -148,6 +148,14 @@ and `5.3`, but not yet-to-be-released `5.4`. There are a few other operators | |||
148 | for specifying version constraints, see | 148 | for specifying version constraints, see |
149 | [Rockspec format](rockspec_format.md#dependency-information). | 149 | [Rockspec format](rockspec_format.md#dependency-information). |
150 | 150 | ||
151 | Rockspecs from [`rockspec_format = "3.1"`](rockspec_format.md#package-metadata)), | ||
152 | have access to special variables with the path of the installed rocks of its | ||
153 | dependencies. See the [section below](#including-documentation-and-other-files) | ||
154 | for information on how rocks can include files in their installation. Each | ||
155 | variable is the name of the dependency followed by the suffix `_ROCKDIR`. For | ||
156 | the example above, variable `LUAKNIFE_ROCKDIR` will be provided with the path of | ||
157 | the installed rock. | ||
158 | |||
151 | #### C modules linking to external libraries | 159 | #### C modules linking to external libraries |
152 | 160 | ||
153 | *If your code does not use third-party libraries, you may skip this subsection.* | 161 | *If your code does not use third-party libraries, you may skip this subsection.* |