diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-06-29 07:54:57 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-06-29 07:54:57 +0200 |
commit | d1d28c5f261e39013b8b987d58b3c0acaa8c762b (patch) | |
tree | 1b8a208912a2f4401d18980d6eacc67d80d32585 | |
parent | e21cfd4593932caefc08d1f7ad0f966dcda324d9 (diff) |
Use buildfile{} instead of build{} for target type
This feels like an oversight from transitioning to full names, like
testscript{}, etc.
-rw-r--r-- | doc/manual.cli | 2 | ||||
-rw-r--r-- | libbuild2/target.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual.cli b/doc/manual.cli index 9f9dee6..c0ae061 100644 --- a/doc/manual.cli +++ b/doc/manual.cli @@ -4190,7 +4190,7 @@ buildfile:5:1: dump: [dir_path] out_base = /tmp/hello/hello/ [dir_path] src_base = /tmp/hello/hello/ - build{buildfile.}: + buildfile{buildfile.}: exe{hello.?}: cxx{hello.?} } diff --git a/libbuild2/target.cxx b/libbuild2/target.cxx index e3ad367..a543f34 100644 --- a/libbuild2/target.cxx +++ b/libbuild2/target.cxx @@ -1215,7 +1215,7 @@ namespace build2 const target_type buildfile::static_type { - "build", + "buildfile", &file::static_type, &target_factory<buildfile>, &buildfile_target_extension, |