aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Pkg-config-files.md
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2021-01-30 13:20:59 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2021-01-30 13:26:57 +0200
commit708b83a029b1c2ae91ad6426d45b6723893e1427 (patch)
treeedf5bd6e1cccc01f57572620d96beeafbbe3a175 /docs/markdown/Pkg-config-files.md
parentf0fbb31ccfa78ca1d7b7f9cedfbb090bf36d3e64 (diff)
downloadmeson-708b83a029b1c2ae91ad6426d45b6723893e1427.zip
meson-708b83a029b1c2ae91ad6426d45b6723893e1427.tar.gz
meson-708b83a029b1c2ae91ad6426d45b6723893e1427.tar.bz2
Rewrap long text lines in docs. [skip ci]docrewrap
Diffstat (limited to 'docs/markdown/Pkg-config-files.md')
-rw-r--r--docs/markdown/Pkg-config-files.md15
1 files changed, 12 insertions, 3 deletions
diff --git a/docs/markdown/Pkg-config-files.md b/docs/markdown/Pkg-config-files.md
index 3aa8897..1fbef0b 100644
--- a/docs/markdown/Pkg-config-files.md
+++ b/docs/markdown/Pkg-config-files.md
@@ -1,6 +1,13 @@
# Pkg config files
-[Pkg-config](https://en.wikipedia.org/wiki/Pkg-config) is a way for shared libraries to declare the compiler flags needed to use them. There are two different ways of generating Pkg-config files in Meson. The first way is to build them manually with the `configure_file` command. The second way is to use Meson's built in Pkg-config file generator. The difference between the two is that the latter is very simple and meant for basic use cases. The former should be used when you need to provide a more customized solution.
+[Pkg-config](https://en.wikipedia.org/wiki/Pkg-config) is a way for
+shared libraries to declare the compiler flags needed to use them.
+There are two different ways of generating Pkg-config files in Meson.
+The first way is to build them manually with the `configure_file`
+command. The second way is to use Meson's built in Pkg-config file
+generator. The difference between the two is that the latter is very
+simple and meant for basic use cases. The former should be used when
+you need to provide a more customized solution.
In this document we describe the simple generator approach. It is used in the following way.
@@ -16,6 +23,8 @@ pkg.generate(libraries : libs,
description : 'A simple demo library.')
```
-This causes a file called `simple.pc` to be created and placed into the install directory during the install phase.
+This causes a file called `simple.pc` to be created and placed into
+the install directory during the install phase.
-More information on the pkg-config module and the parameters can be found on the [pkgconfig-module](Pkgconfig-module.md) page.
+More information on the pkg-config module and the parameters can be
+found on the [pkgconfig-module](Pkgconfig-module.md) page.