[utilities/kate] doc/kate: Project plugin: add help about targets
Waqar Ahmed
null at kde.org
Mon Oct 3 13:32:00 BST 2022
Git commit 2faca962e488a11166d84aaabb1a8c43822e4142 by Waqar Ahmed.
Committed on 03/10/2022 at 12:31.
Pushed by waqar into branch 'master'.
Project plugin: add help about targets
M +17 -2 doc/kate/plugins.docbook
https://invent.kde.org/utilities/kate/commit/2faca962e488a11166d84aaabb1a8c43822e4142
diff --git a/doc/kate/plugins.docbook b/doc/kate/plugins.docbook
index 0b2e20aba..70b9e9306 100644
--- a/doc/kate/plugins.docbook
+++ b/doc/kate/plugins.docbook
@@ -2067,7 +2067,7 @@ Here, subfolders and filters define what’s part of the project.
You can also mix version control and files based on filters.
</para>
-<para id="projects-build-support">If you want to add support for the Build plugin, you could write a
+<para id="projects-build-support">If you want to add support for the building, you can write a
<filename>.kateproject</filename> like this:</para>
<screen>
@@ -2082,11 +2082,26 @@ You can also mix version control and files based on filters.
"directory": "build",
"build": "make all",
"clean": "make clean",
- "install": "make install"
+ "install": "make install",
+ "targets": [
+ {
+ "name": "all",
+ "build_cmd": "ninja"
+ },
+ {
+ "name": "kate",
+ "build_cmd": "ninja kate-bin"
+ }
+ ]
}
}
</screen>
+<para>
+The targets specified above will then appear in the <link linkend="kate-application-plugin-build">Build Plugin </link> under <emphasis role="bold">
+"Project Plugin Targets"</emphasis>.
+</para>
+
<para>
In case you have a <filename>.kateproject</filename> file tracked by a control
version system, but you need to tweak the configuration for a particular
More information about the kde-doc-english
mailing list