PATCH: remove config.{guess,sub} man pages

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

PATCH: remove config.{guess,sub} man pages

Ben Elliston-37
Remove config.{guess,sub} man pages. These are now kept in the master
source tree for config.{guess,sub}.

Thanks,
Ben

---
 man/config.guess.x | 24 ------------------------
 man/config.sub.x   |  4 ----
 man/local.mk       |  8 +-------
 3 files changed, 1 insertion(+), 35 deletions(-)
 delete mode 100644 man/config.guess.x
 delete mode 100644 man/config.sub.x

diff --git a/man/config.guess.x b/man/config.guess.x
deleted file mode 100644
index ce23430..0000000
--- a/man/config.guess.x
+++ /dev/null
@@ -1,24 +0,0 @@
---no-info
-
-[name]
-config.guess \- guess the build system triplet
-
-[Environment variables]
-config.guess might need to compile and run C code, hence it needs a
-compiler for the `build' machine: use the environment variable
-`CC_FOR_BUILD' to specify the compiler for the build machine.  If
-`CC_FOR_BUILD' is not specified, `CC' will be used.  Be sure to
-specify `CC_FOR_BUILD' is `CC' is a cross-compiler to the `host'
-machine.
-
-  CC_FOR_BUILD    a native C compiler, defaults to `cc'
-  CC              a native C compiler, the previous variable is preferred
-
-[description]
-The GNU build system distinguishes three types of machines, the
-`build' machine on which the compilers are run, the `host' machine
-on which the package being built will run, and, exclusively when you
-build a compiler, assembler etc., the `target' machine, for which the
-compiler being built will produce code.
-
-This script will guess the type of the `build' machine.
diff --git a/man/config.sub.x b/man/config.sub.x
deleted file mode 100644
index 294cfbe..0000000
--- a/man/config.sub.x
+++ /dev/null
@@ -1,4 +0,0 @@
---no-info
-
-[name]
-config.sub \- validate and canonicalize a configuration triplet
diff --git a/man/local.mk b/man/local.mk
index a9c247a..2767d14 100644
--- a/man/local.mk
+++ b/man/local.mk
@@ -25,9 +25,7 @@ dist_man_MANS = \
   $(mansrcdir)/autoreconf.1 \
   $(mansrcdir)/autoscan.1 \
   $(mansrcdir)/autoupdate.1 \
-  $(mansrcdir)/ifnames.1 \
-  $(mansrcdir)/config.guess.1 \
-  $(mansrcdir)/config.sub.1
+  $(mansrcdir)/ifnames.1
 
 EXTRA_DIST += $(dist_man_MANS:.1=.x) man/common.x
 MAINTAINERCLEANFILES += $(dist_man_MANS)
@@ -42,10 +40,6 @@ $(mansrcdir)/autoscan.1:   $(common_dep) $(binsrcdir)/autoscan.in
 $(mansrcdir)/autoupdate.1: $(common_dep) $(binsrcdir)/autoupdate.in
 $(mansrcdir)/ifnames.1:    $(common_dep) $(binsrcdir)/ifnames.in
 
-# Independent from this package.
-$(mansrcdir)/config.guess.1: $(srcdir)/build-aux/config.guess
-$(mansrcdir)/config.sub.1:   $(srcdir)/build-aux/config.sub
-
 remove_time_stamp = 's/^\(\.TH[^"]*"[^"]*"[^"]*\)"[^"]*"/\1/'
 
 MOSTLYCLEANFILES += $(srcdir)/man/*.t
--
1.9.1


signature.asc (828 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: PATCH: remove config.{guess,sub} man pages

Pavel Raiskup
Hi Ben,

On Wednesday 25 of November 2015 21:09:39 Ben Elliston wrote:
> Remove config.{guess,sub} man pages. These are now kept in the master
> source tree for config.{guess,sub}.

after this patch -- the manual pages are not installed with autoconf
anymore (I tried 'make install').  Is that expected?  If yes, how are the
manual pages supposed to be installed?

Thanks, Pavel

> ---
>  man/config.guess.x | 24 ------------------------
>  man/config.sub.x   |  4 ----
>  man/local.mk       |  8 +-------
>  3 files changed, 1 insertion(+), 35 deletions(-)
>  delete mode 100644 man/config.guess.x
>  delete mode 100644 man/config.sub.x
>
> diff --git a/man/config.guess.x b/man/config.guess.x
> deleted file mode 100644
> index ce23430..0000000
> --- a/man/config.guess.x
> +++ /dev/null
> @@ -1,24 +0,0 @@
> ---no-info
> -
> -[name]
> -config.guess \- guess the build system triplet
> -
> -[Environment variables]
> -config.guess might need to compile and run C code, hence it needs a
> -compiler for the `build' machine: use the environment variable
> -`CC_FOR_BUILD' to specify the compiler for the build machine.  If
> -`CC_FOR_BUILD' is not specified, `CC' will be used.  Be sure to
> -specify `CC_FOR_BUILD' is `CC' is a cross-compiler to the `host'
> -machine.
> -
> -  CC_FOR_BUILD    a native C compiler, defaults to `cc'
> -  CC              a native C compiler, the previous variable is preferred
> -
> -[description]
> -The GNU build system distinguishes three types of machines, the
> -`build' machine on which the compilers are run, the `host' machine
> -on which the package being built will run, and, exclusively when you
> -build a compiler, assembler etc., the `target' machine, for which the
> -compiler being built will produce code.
> -
> -This script will guess the type of the `build' machine.
> diff --git a/man/config.sub.x b/man/config.sub.x
> deleted file mode 100644
> index 294cfbe..0000000
> --- a/man/config.sub.x
> +++ /dev/null
> @@ -1,4 +0,0 @@
> ---no-info
> -
> -[name]
> -config.sub \- validate and canonicalize a configuration triplet
> diff --git a/man/local.mk b/man/local.mk
> index a9c247a..2767d14 100644
> --- a/man/local.mk
> +++ b/man/local.mk
> @@ -25,9 +25,7 @@ dist_man_MANS = \
>    $(mansrcdir)/autoreconf.1 \
>    $(mansrcdir)/autoscan.1 \
>    $(mansrcdir)/autoupdate.1 \
> -  $(mansrcdir)/ifnames.1 \
> -  $(mansrcdir)/config.guess.1 \
> -  $(mansrcdir)/config.sub.1
> +  $(mansrcdir)/ifnames.1
>  
>  EXTRA_DIST += $(dist_man_MANS:.1=.x) man/common.x
>  MAINTAINERCLEANFILES += $(dist_man_MANS)
> @@ -42,10 +40,6 @@ $(mansrcdir)/autoscan.1:   $(common_dep) $(binsrcdir)/autoscan.in
>  $(mansrcdir)/autoupdate.1: $(common_dep) $(binsrcdir)/autoupdate.in
>  $(mansrcdir)/ifnames.1:    $(common_dep) $(binsrcdir)/ifnames.in
>  
> -# Independent from this package.
> -$(mansrcdir)/config.guess.1: $(srcdir)/build-aux/config.guess
> -$(mansrcdir)/config.sub.1:   $(srcdir)/build-aux/config.sub
> -
>  remove_time_stamp = 's/^\(\.TH[^"]*"[^"]*"[^"]*\)"[^"]*"/\1/'
>  
>  MOSTLYCLEANFILES += $(srcdir)/man/*.t
>


Reply | Threaded
Open this post in threaded view
|

Re: PATCH: remove config.{guess,sub} man pages

Ben Elliston-37
On Thu, Dec 10, 2015 at 06:32:26AM +0100, Pavel Raiskup wrote:

> after this patch -- the manual pages are not installed with autoconf
> anymore (I tried 'make install').  Is that expected?  If yes, how
> are the manual pages supposed to be installed?

That's correct.  The man pages belong with these scripts which have
been separately maintained for 15 years.  The manual pages can be
installed through a package that contains the config.* scripts (eg.
autotools-dev on Debian and Ubuntu systems).

Cheers, Ben

signature.asc (828 bytes) Download Attachment