diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2014-01-12 22:28:55 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2014-01-12 22:28:55 (GMT) |
commit | aa96b7897b40bf1171f08d77e229ec57b2c4119a (patch) | |
tree | d6be2cd9ab395ad031968c46d341881f8f3005e1 /web/input/doc/faq/gnulib.md | |
parent | c394fa1575c28380e56d4f1e9883d88dfa7266cf (diff) | |
download | site-aa96b7897b40bf1171f08d77e229ec57b2c4119a.tar.gz |
Documentation: Denote command lines with "$"
Add a prompt sign to all command lines in code blocks.
Diffstat (limited to 'web/input/doc/faq/gnulib.md')
-rw-r--r-- | web/input/doc/faq/gnulib.md | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/web/input/doc/faq/gnulib.md b/web/input/doc/faq/gnulib.md index 328dfeb..5b7299b 100644 --- a/web/input/doc/faq/gnulib.md +++ b/web/input/doc/faq/gnulib.md | |||
@@ -8,27 +8,27 @@ parent: FAQ | |||
8 | not available on all (Unix-like) operating systems. In order to sync with the | 8 | not available on all (Unix-like) operating systems. In order to sync with the |
9 | latest Gnulib code, do something like: | 9 | latest Gnulib code, do something like: |
10 | 10 | ||
11 | git clone git://git.savannah.gnu.org/gnulib.git | 11 | $ git clone git://git.savannah.gnu.org/gnulib.git |
12 | cd gnulib | 12 | $ cd gnulib |
13 | GNULIB_HEAD=$(git rev-parse --short HEAD) | 13 | $ GNULIB_HEAD=$(git rev-parse --short HEAD) |
14 | cd .. | 14 | $ cd .. |
15 | git clone git@github.com:nagios-plugins/nagios-plugins.git | 15 | $ git clone git@github.com:nagios-plugins/nagios-plugins.git |
16 | cd nagios-plugins | 16 | $ cd nagios-plugins |
17 | ../gnulib/gnulib-tool --update | 17 | $ ../gnulib/gnulib-tool --update |
18 | find gl -name '*~' -o -name '.gitignore' | xargs rm | 18 | $ find gl -name '*~' -o -name '.gitignore' | xargs rm |
19 | git status | 19 | $ git status |
20 | git add gl | 20 | $ git add gl |
21 | git commit -m "Sync with latest Gnulib code ($GNULIB_HEAD)" | 21 | $ git commit -m "Sync with latest Gnulib code ($GNULIB_HEAD)" |
22 | 22 | ||
23 | In order to make a given function available via Gnulib (on systems which don't | 23 | In order to make a given function available via Gnulib (on systems which don't |
24 | provide that function), the [corresponding module][modules] must be imported | 24 | provide that function), the [corresponding module][modules] must be imported |
25 | using `gnulib-tool`, e.g. (in order to add the `strcase` module): | 25 | using `gnulib-tool`, e.g. (in order to add the `strcase` module): |
26 | 26 | ||
27 | ../gnulib/gnulib-tool --no-vc-files --import strcase | 27 | $ ../gnulib/gnulib-tool --no-vc-files --import strcase |
28 | find gl -name '*~' | xargs rm | 28 | $ find gl -name '*~' | xargs rm |
29 | git status | 29 | $ git status |
30 | git add gl | 30 | $ git add gl |
31 | git commit -m 'Add Gnulib module "strcase"' | 31 | $ git commit -m 'Add Gnulib module "strcase"' |
32 | 32 | ||
33 | [gnulib]: http://www.gnu.org/software/gnulib/ "Gnulib" | 33 | [gnulib]: http://www.gnu.org/software/gnulib/ "Gnulib" |
34 | [modules]: http://www.gnu.org/software/gnulib/MODULES.html "Gnulib Modules" | 34 | [modules]: http://www.gnu.org/software/gnulib/MODULES.html "Gnulib Modules" |