talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit c664620845dd076976e7cae1a6a01e76b724eaae
parent 7bb499bf370fd823ab8ecae8547e28f03867b0a2
Author: Holger Berndt <hb@claws-mail.org>
Date:   Sun,  7 Apr 2013 15:33:34 +0200

Perl plugin: Enhance insert_perl.pl documentation

In cvs, there was an "InsertCompile" script that called the script.
Without looking at that script, the use of insert_perl.pl is not
obvious, so a few comments have been added.

Diffstat:
Msrc/plugins/perl/tools/insert_perl.pl | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/src/plugins/perl/tools/insert_perl.pl b/src/plugins/perl/tools/insert_perl.pl @@ -1,6 +1,16 @@ #!/usr/bin/perl -w # parameters: <cmd> what perl-code c-code # +# The purpose of this script is to be able to develop the embedded perl +# code outside of the c-code. This script then updates the c-code, escaping +# the perl code as needed and putting it into the c code as strings. +# +# usage: +# - go to directory of perl plugin sources +# - tools/insert_perl.pl perl_filter_action perl_filter_action.pl perl_plugin.c +# - tools/insert_perl.pl perl_filter_matcher perl_filter_matcher.pl perl_plugin.c +# - tools/insert_perl.pl perl_persistent perl_persistent.pl perl_plugin.c +# - tools/insert_perl.pl perl_utils perl_utils.pl perl_plugin.c use strict; use File::Copy;