From b2d9b2f0ba24f5c563135a415218f7b674df278b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Tue, 13 Nov 2018 20:43:26 +0100 Subject: [PATCH] doc: fix name of compiled plugin example (plugin API reference) --- doc/en/weechat_plugin_api.en.adoc | 4 ++-- doc/fr/weechat_plugin_api.fr.adoc | 4 ++-- doc/it/weechat_plugin_api.it.adoc | 4 ++-- doc/ja/weechat_plugin_api.ja.adoc | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc index 48ec18ca6..aeddbe523 100644 --- a/doc/en/weechat_plugin_api.en.adoc +++ b/doc/en/weechat_plugin_api.en.adoc @@ -146,13 +146,13 @@ To compile a plugin which has one file "toto.c" (under GNU/Linux): ---- $ gcc -fPIC -Wall -c toto.c -$ gcc -shared -fPIC -o libtoto.so toto.o +$ gcc -shared -fPIC -o toto.so toto.o ---- [[load_plugin]] === Load plugin -Copy file _libtoto.so_ into system plugins directory (for example +Copy file _toto.so_ into system plugins directory (for example _/usr/local/lib/weechat/plugins_) or into user's plugins directory (for example _/home/xxx/.weechat/plugins_). diff --git a/doc/fr/weechat_plugin_api.fr.adoc b/doc/fr/weechat_plugin_api.fr.adoc index d475aac94..b07bc4587 100644 --- a/doc/fr/weechat_plugin_api.fr.adoc +++ b/doc/fr/weechat_plugin_api.fr.adoc @@ -151,13 +151,13 @@ Pour compiler l'extension qui n'a qu'un fichier "toto.c" (sous GNU/Linux) : ---- $ gcc -fPIC -Wall -c toto.c -$ gcc -shared -fPIC -o libtoto.so toto.o +$ gcc -shared -fPIC -o toto.so toto.o ---- [[load_plugin]] === Chargement de l'extension -Copiez le fichier _libtoto.so_ dans le répertoire système des extensions (par +Copiez le fichier _toto.so_ dans le répertoire système des extensions (par exemple _/usr/local/lib/weechat/plugins_) ou dans le répertoire utilisateur des extensions (par exemple _/home/xxx/.weechat/plugins_). diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc index 127fae44d..098aaf87b 100644 --- a/doc/it/weechat_plugin_api.it.adoc +++ b/doc/it/weechat_plugin_api.it.adoc @@ -164,13 +164,13 @@ Per compilare un plugin che ha un file "tizio.c" (in GNU/Linux): ---- $ gcc -fPIC -Wall -c tizio.c -$ gcc -shared -fPIC -o libtizio.so tizio.o +$ gcc -shared -fPIC -o tizio.so tizio.o ---- [[load_plugin]] === Caricamento del plugin -Copiare il file _libtizio.so_ nella cartella plugin di sistema (ad +Copiare il file _tizio.so_ nella cartella plugin di sistema (ad esempio _/usr/local/lib/weechat/plugins_) oppure nella cartella plugin dell'utente (ad esempio _/home/xxx/.weechat/plugins_). diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc index 026131dd8..d11a38bf9 100644 --- a/doc/ja/weechat_plugin_api.ja.adoc +++ b/doc/ja/weechat_plugin_api.ja.adoc @@ -152,13 +152,13 @@ int weechat_plugin_end (struct t_weechat_plugin *plugin); ---- $ gcc -fPIC -Wall -c toto.c -$ gcc -shared -fPIC -o libtoto.so toto.o +$ gcc -shared -fPIC -o toto.so toto.o ---- [[load_plugin]] === プラグインを読み込む -_libtoto.so_ ファイルをシステムのプラグインディレクトリ (例えば +_toto.so_ ファイルをシステムのプラグインディレクトリ (例えば _/usr/local/lib/weechat/plugins_) またはユーザのプラグインディレクトリ (例えば _/home/xxx/.weechat/plugins_) にコピーしてください。