1 |
Signed-off-by: Sam James <sam@g.o> |
2 |
--- |
3 |
eclass/gnuconfig.eclass | 33 +++++++++++++++++++++++---------- |
4 |
1 file changed, 23 insertions(+), 10 deletions(-) |
5 |
|
6 |
diff --git a/eclass/gnuconfig.eclass b/eclass/gnuconfig.eclass |
7 |
index 3433837787c..f679441445f 100644 |
8 |
--- a/eclass/gnuconfig.eclass |
9 |
+++ b/eclass/gnuconfig.eclass |
10 |
@@ -1,25 +1,32 @@ |
11 |
-# Copyright 1999-2020 Gentoo Authors |
12 |
+# Copyright 1999-2021 Gentoo Authors |
13 |
# Distributed under the terms of the GNU General Public License v2 |
14 |
-# |
15 |
-# Author: Will Woods <wwoods@g.o> |
16 |
-# |
17 |
+ |
18 |
+# @ECLASS: gnuconfig.eclass |
19 |
+# @MAINTAINER: |
20 |
+# maintainer-needed@g.o |
21 |
+# @AUTHOR: |
22 |
+# Will Woods <wwoods@g.o> |
23 |
+# @BLURB: Eclass to make PCF font generator from BDF uniform and optimal |
24 |
+# @DESCRIPTION: |
25 |
# This eclass is used to automatically update files that typically come with |
26 |
# automake to the newest version available on the system. The most common use |
27 |
# of this is to update config.guess and config.sub when configure dies from |
28 |
# misguessing your canonical system name (CHOST). It can also be used to update |
29 |
# other files that come with automake, e.g. depcomp, mkinstalldirs, etc. |
30 |
# |
31 |
-# usage: gnuconfig_update [file1 file2 ...] |
32 |
+ |
33 |
+DEPEND="sys-devel/gnuconfig" |
34 |
+ |
35 |
+# @FUNCTION: gnuconfig_update |
36 |
+# @USAGE: [file1 file2 ...] |
37 |
+# @DESCRIPTION: |
38 |
# if called without arguments, config.guess and config.sub will be updated. |
39 |
# All files in the source tree ($S) with the given name(s) will be replaced |
40 |
# with the newest available versions chosen from the list of locations in |
41 |
# gnuconfig_findnewest(), below. |
42 |
# |
43 |
# gnuconfig_update should generally be called from src_unpack() |
44 |
- |
45 |
- |
46 |
-DEPEND="sys-devel/gnuconfig" |
47 |
- |
48 |
+# |
49 |
# Wrapper function for gnuconfig_do_update. If no arguments are given, update |
50 |
# config.sub and config.guess (old default behavior), otherwise update the |
51 |
# named files. |
52 |
@@ -42,6 +49,9 @@ gnuconfig_update() { |
53 |
return $? |
54 |
} |
55 |
|
56 |
+# @FUNCTION: gnuconfig_do_update |
57 |
+# @INTERNAL |
58 |
+# @DESCRIPTION: |
59 |
# Copy the newest available version of specified files over any old ones in the |
60 |
# source dir. This function shouldn't be called directly - use gnuconfig_update |
61 |
# |
62 |
@@ -75,7 +85,10 @@ gnuconfig_do_update() { |
63 |
return 0 |
64 |
} |
65 |
|
66 |
-# this searches the standard locations for the newest config.{sub|guess}, and |
67 |
+# @FUNCTION: gnuconfig_findnewest |
68 |
+# @INTERNAL |
69 |
+# @DESCRIPTION: |
70 |
+# This searches the standard locations for the newest config.{sub|guess}, and |
71 |
# returns the directory where they can be found. |
72 |
gnuconfig_findnewest() { |
73 |
local locations=( |
74 |
-- |
75 |
2.31.1 |