From 5e34ff29bcc870936ab18172f438a34d042d4e03 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 21 Apr 2009 11:09:40 +0000 Subject: *: 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! --- docs/autodocifier.pl | 4 ++-- docs/new-applet-HOWTO.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'docs') 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 { my $text = shift; for (;;) { my $text2 = $text; - $text =~ s/SKIP_\w+\(.*?"\s*\)//sxg; - $text =~ s/USE_\w+\(\s*?(.*?)"\s*\)/$1"/sxg; + $text =~ s/IF_NOT_\w+\(.*?"\s*\)//sxg; + $text =~ s/IF_\w+\(\s*?(.*?)"\s*\)/$1"/sxg; $text =~ s/USAGE_\w+\(\s*?(.*?)"\s*\)/$1"/sxg; last if ( $text2 eq $text ); } 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: Be sure to read the top of applets.h before adding your applet. /* all programs above here are alphabetically "less than" 'mu' */ - USE_MU(APPLET(mu, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) + IF_MU(APPLET(mu, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) /* all programs below here are alphabetically "greater than" 'mu' */ -- cgit v1.2.3