coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

installed Texinfo documentation vs. --enable-no-install-program


From: Bernhard Voelker
Subject: installed Texinfo documentation vs. --enable-no-install-program
Date: Fri, 11 Jan 2013 20:58:09 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

Although a user/distributor uses configure's --enable-no-install-program
option to not build a certain program, e.g. kill, or she doesn't explicitly
use the otherwise skipped programs via --enable-install-program - namely
arch and hostname -, the installed Texinfo documentation will contain the
corresponding info node.

Shouldn't the build system include/exclude the relevant parts of not-installed
programs?

Situation in the distributions:

* SuSE
  maintains a patch to remove all "hostname" parts from the manual:

https://build.opensuse.org/package/view_file?expand=1&file=coreutils-remove_hostname_documentation.patch&package=coreutils&project=openSUSE%3AFactory

  configure call:
  
https://build.opensuse.org/package/view_file?expand=1&file=coreutils.spec&package=coreutils&project=openSUSE%3AFactory

  %configure --libexecdir=%{_libdir} --without-included-regex \
            --enable-install-program=arch,su \

* Archlinux
  delivers the Texinfo manual of not-installed arch, hostname, groups, kill and 
uptime:
  
https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/coreutils

 ./configure --prefix=/usr --libexecdir=/usr/lib \
             --enable-no-install-program=groups,hostname,kill,uptime

* Fedora
  no problem, they also build the 2 programs which are usually skipped:
  http://pkgs.fedoraproject.org/cgit/coreutils.git/tree/coreutils.spec

  %configure [...] \
             --enable-install-program=hostname,arch \
             [...]

* Debian and
* Ubuntu
  delivers Texinfo manual of not-installed hostname:
  
http://launchpadlibrarian.net/125630242/coreutils_8.20-3ubuntu3_8.20-3ubuntu4.diff.gz

  BUILDPROG_OPTS := --enable-install-program=su,arch

Have a nice day,
Berny



reply via email to

[Prev in Thread] Current Thread [Next in Thread]