diff options
| author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-21 11:09:40 +0000 |
|---|---|---|
| committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-21 11:09:40 +0000 |
| commit | 5e34ff29bcc870936ab18172f438a34d042d4e03 (patch) | |
| tree | a5e7a528f2f916eb883f1161eadceacdf2dca4be /docs | |
| parent | 8b814b4a349e2262c0ad25793b05206a14651ebb (diff) | |
| download | busybox-w32-5e34ff29bcc870936ab18172f438a34d042d4e03.tar.gz busybox-w32-5e34ff29bcc870936ab18172f438a34d042d4e03.tar.bz2 busybox-w32-5e34ff29bcc870936ab18172f438a34d042d4e03.zip | |
*: mass renaming of USE_XXXX to IF_XXXX
and SKIP_XXXX to IF_NOT_XXXX - the second one was especially
badly named. It was not skipping anything!
Diffstat (limited to 'docs')
| -rwxr-xr-x | docs/autodocifier.pl | 4 | ||||
| -rw-r--r-- | docs/new-applet-HOWTO.txt | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/autodocifier.pl b/docs/autodocifier.pl index 576e31281..e3ba5c94b 100755 --- a/docs/autodocifier.pl +++ b/docs/autodocifier.pl | |||
| @@ -24,8 +24,8 @@ sub beautify { | |||
| 24 | my $text = shift; | 24 | my $text = shift; |
| 25 | for (;;) { | 25 | for (;;) { |
| 26 | my $text2 = $text; | 26 | my $text2 = $text; |
| 27 | $text =~ s/SKIP_\w+\(.*?"\s*\)//sxg; | 27 | $text =~ s/IF_NOT_\w+\(.*?"\s*\)//sxg; |
| 28 | $text =~ s/USE_\w+\(\s*?(.*?)"\s*\)/$1"/sxg; | 28 | $text =~ s/IF_\w+\(\s*?(.*?)"\s*\)/$1"/sxg; |
| 29 | $text =~ s/USAGE_\w+\(\s*?(.*?)"\s*\)/$1"/sxg; | 29 | $text =~ s/USAGE_\w+\(\s*?(.*?)"\s*\)/$1"/sxg; |
| 30 | last if ( $text2 eq $text ); | 30 | last if ( $text2 eq $text ); |
| 31 | } | 31 | } |
diff --git a/docs/new-applet-HOWTO.txt b/docs/new-applet-HOWTO.txt index 6f89cbe1d..89df7d8f0 100644 --- a/docs/new-applet-HOWTO.txt +++ b/docs/new-applet-HOWTO.txt | |||
| @@ -162,7 +162,7 @@ algorithm in busybox.c and the Gods of BusyBox smite you. Yea, verily: | |||
| 162 | Be sure to read the top of applets.h before adding your applet. | 162 | Be sure to read the top of applets.h before adding your applet. |
| 163 | 163 | ||
| 164 | /* all programs above here are alphabetically "less than" 'mu' */ | 164 | /* all programs above here are alphabetically "less than" 'mu' */ |
| 165 | USE_MU(APPLET(mu, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 165 | IF_MU(APPLET(mu, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
| 166 | /* all programs below here are alphabetically "greater than" 'mu' */ | 166 | /* all programs below here are alphabetically "greater than" 'mu' */ |
| 167 | 167 | ||
| 168 | 168 | ||
