Skip to contentSkip to conversation

docs/manual: slight eye-candy about br2-external (branch yem/manual)

PATCH New Yann E. MORIN 2 participants 5 messages May 24, 2015 – May 25, 2015

lore
Share & tools
lore
#0 lore raw

cover docs/manual: slight eye-candy about br2-external (branch yem/manual)

Hello All!

This series does some slight eye-candy in the manual, about br2-external.

Regards,
Yann E. MORIN.

The following changes since commit 6fe42d07fa6f5ab4ff175be5f8014734954c5b52:

gptfdisk: fix static linking issue with iconv (2015-05-22 14:49:32 +0200)

are available in the git repository at:

git://git.busybox.net/~ymorin/git/buildroot yem/manual

for you to fetch changes up to fab2dd23c2efd2f8eb0586dcb0c71d54c3a5caf4:

docs/manual/br2-external: use proper .Note sections (2015-05-24 23:46:24 +0200)

----------------------------------------------------------------
Yann E. MORIN (2):
docs/manual/br2-external: remove superfluous leading tabs in code blocks docs/manual/br2-external: use proper .Note sections

 docs/manual/customize-outside-br.txt | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#1 lore raw

PATCH 1/2 docs/manual/br2-external: remove superfluous leading tabs in code blocks

They are not needed, and other code blocks in the same file are not indented either.

Remove those leading spaces, so all our code blocks look the same.

---
 docs/manual/customize-outside-br.txt | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
docs/manual/customize-outside-br.txt +5 -5
index aac9a43..99a942c 100644
@@ -33,27 +33,27 @@ to the Buildroot output directory.
 Some examples:
 
 -----
- buildroot/ $ make BR2_EXTERNAL=/path/to/foobar menuconfig
+buildroot/ $ make BR2_EXTERNAL=/path/to/foobar menuconfig
 -----
 
 From now on, external definitions from the +/path/to/foobar+
 directory will be used:
 
 -----
- buildroot/ $ make
- buildroot/ $ make legal-info
+buildroot/ $ make
+buildroot/ $ make legal-info
 -----
 
 We can switch to another external definitions directory at any time:
 
 -----
- buildroot/ $ make BR2_EXTERNAL=/where/we/have/barfoo xconfig
+buildroot/ $ make BR2_EXTERNAL=/where/we/have/barfoo xconfig
 -----
 
 Or disable the usage of external definitions:
 
 -----
- buildroot/ $ make BR2_EXTERNAL= xconfig
+buildroot/ $ make BR2_EXTERNAL= xconfig
 -----
 
 +BR2_EXTERNAL+ allows three different things:
Signature · 1 line
1.9.1
#2 lore raw

PATCH 1/2 docs/manual/br2-external: remove superfluous leading tabs in code blocks

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

They are not needed, and other code blocks in the same file are not indented either.

Remove those leading spaces, so all our code blocks look the same.

Committed with the description fixed up (it is a leading space, not a <tab>), thanks.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 2/2 docs/manual/br2-external: use proper .Note sections

In reply to Yann E. MORIN
---
 docs/manual/customize-outside-br.txt | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
docs/manual/customize-outside-br.txt +6 -2
index 99a942c..9ad177d 100644
@@ -25,7 +25,8 @@ there is no need to pass +BR2_EXTERNAL+ at every +make+ invocation. It
 can however be changed at any time by passing a new value, and can be
 removed by passing an empty value.
 
-*Note:* the +BR2_EXTERNAL+ path can be either an absolute or a relative path,
+.Note
+The +BR2_EXTERNAL+ path can be either an absolute or a relative path,
 but if it's passed as a relative path, it is important to note that it
 is interpreted relative to the main Buildroot source directory, *not*
 to the Buildroot output directory.
@@ -75,7 +76,10 @@ buildroot/ $ make BR2_EXTERNAL= xconfig
    logic. Buildroot automatically includes +$(BR2_EXTERNAL)/Config.in+ to
    make it appear in the top-level configuration menu, and includes
    +$(BR2_EXTERNAL)/external.mk+ with the rest of the makefile logic.
-   Providing those two files is mandatory, but they can be empty.
++
+.Note
+Providing +Config.in+ and +external.mk+ is mandatory, but they can be
+   empty.
 +
 The main usage of this is to store package recipes. The recommended
    way to do this is to write a +$(BR2_EXTERNAL)/Config.in+ file that
Signature · 1 line
1.9.1