aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-10-14 12:39:14 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-10-14 12:39:14 +0200
commitd267e350e3fb8571805f6d8eba9c0d7f41bf75c2 (patch)
tree57c39b9e4b4d10c76365e39dcc8642a8224d5e18 /libbuild2
parentcbea7fec9a493e543ebc6284d17041c9e91cb28f (diff)
Use tidier pc and def names instead of generic gen for .pc and .def generation
Diffstat (limited to 'libbuild2')
-rw-r--r--libbuild2/bin/def-rule.cxx2
-rw-r--r--libbuild2/cc/pkgconfig.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/bin/def-rule.cxx b/libbuild2/bin/def-rule.cxx
index 49d0ac0..ab31fde 100644
--- a/libbuild2/bin/def-rule.cxx
+++ b/libbuild2/bin/def-rule.cxx
@@ -616,7 +616,7 @@ namespace build2
const char*& arg (*(args.end () - 2));
if (verb == 1)
- text << "gen " << t;
+ text << "def " << t;
// Extract symbols from each object file.
//
diff --git a/libbuild2/cc/pkgconfig.cxx b/libbuild2/cc/pkgconfig.cxx
index 3e74452..f0dc5c4 100644
--- a/libbuild2/cc/pkgconfig.cxx
+++ b/libbuild2/cc/pkgconfig.cxx
@@ -1477,7 +1477,7 @@ namespace build2
// prerequisite libraries.
//
if (verb)
- text << "gen " << *t;
+ text << "pc " << *t;
else if (verb >= 2)
text << "cat >" << p;