Commit 909597fa authored by Jonathan Corbet's avatar Jonathan Corbet
Browse files

docs: Move the "features" tools to tools/docs



The scripts for managing the features docs are found in three different
directories; unite them all under tools/docs and update references as
needed.

Reviewed-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Acked-by: default avatarJani Nikula <jani.nikula@intel.com>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 0aa76005
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@
    :license:    GPL Version 2, June 1991 see Linux/COPYING for details.

    The ``kernel-feat`` (:py:class:`KernelFeat`) directive calls the
    scripts/get_feat.pl script to parse the Kernel ABI files.
    tools/docs/get_feat.pl script to parse the Kernel ABI files.

    Overview of directive's argument and options.

@@ -85,7 +85,7 @@ class KernelFeat(Directive):
        srctree = os.path.abspath(os.environ["srctree"])

        args = [
            os.path.join(srctree, 'scripts/get_feat.pl'),
            os.path.join(srctree, 'tools/docs/get_feat.pl'),
            'rest',
            '--enable-fname',
            '--dir',
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ my $enable_fname;
my $basename = abs_path($0);
$basename =~ s,/[^/]+$,/,;

my $prefix=$basename . "../Documentation/features";
my $prefix=$basename . "../../Documentation/features";

# Used only at for full features output. The script will auto-adjust
# such values for the minimal possible values
+1 −1
Original line number Diff line number Diff line
@@ -8,4 +8,4 @@

ARCH=${1:-$(uname -m | sed 's/x86_64/x86/' | sed 's/i386/x86/' | sed 's/s390x/s390/')}

$(dirname $0)/../../scripts/get_feat.pl list --arch $ARCH
$(dirname $0)/get_feat.pl list --arch $ARCH