summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/writing.docbook')
-rw-r--r--doc/writing.docbook22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/writing.docbook b/doc/writing.docbook
index 44e32db..afe0b8b 100644
--- a/doc/writing.docbook
+++ b/doc/writing.docbook
@@ -74,6 +74,28 @@ and used by autoepatch safely.
</para>
</listitem>
</varlistentry>
+
+ <varlistentry>
+ <term>patch_trigger_action</term>
+ <listitem>
+
+ <para>
+ This function is the core of those patchsets without actual patch
+ files to apply. It is called once per target to execute some
+ commands on the given parameter. It is useful to run a sed
+ command, or to parse the file in some complex way, and produce
+ either a new output or changing the target file.
+ </para>
+
+ <para>
+ Another likely usage of this ind of patchsets is to operate on a
+ given directory, where you have to change the files according to
+ some other file, for example if you're gonna change some gettext
+ support.
+ </para>
+
+ </listitem>
+ </varlistentry>
</variablelist>
</sect1>