From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] gnu: wireless-tools: Install the manual pages under $out/share/man Date: Sat, 29 Nov 2014 21:49:20 +0100 Message-ID: <87iohxwx4f.fsf@gnu.org> References: <87k32e7fys.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuoxQ-0004Av-AR for guix-devel@gnu.org; Sat, 29 Nov 2014 15:49:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XuoxH-00047M-8U for guix-devel@gnu.org; Sat, 29 Nov 2014 15:49:32 -0500 Received: from hera.aquilenet.fr ([2a01:474::1]:43737) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuoxH-00046s-1B for guix-devel@gnu.org; Sat, 29 Nov 2014 15:49:23 -0500 In-Reply-To: <87k32e7fys.fsf@gmail.com> (=?utf-8?B?IuWui+aWh+atpiIncw==?= message of "Sat, 29 Nov 2014 13:06:51 +0800") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?utf-8?B?5a6L5paH5q2m?= Cc: guix-devel@gnu.org =E5=AE=8B=E6=96=87=E6=AD=A6 skribis: > From f961e72823cda48406d0058902c67b6b663da791 Mon Sep 17 00:00:00 2001 > From: =3D?UTF-8?q?=3DE5=3DAE=3D8B=3DE6=3D96=3D87=3DE6=3DAD=3DA6?=3D > Date: Sat, 29 Nov 2014 12:52:59 +0800 > Subject: [PATCH] gnu: wireless-tools: Install the manual pages under > $out/share/man. > > * gnu/packages/linux.scm (wireless-tools)[origin]: Add snippet. Thanks, applied. It may be a good time to get commit access. Could you create an account on Savannah and let me know? > We could get rid of MANPATH, if all man pages install to $out/share/man. Yes, it=E2=80=99s always been the goal to uniformly use share/man. In core-updates, I=E2=80=99d like to add a build phase at the very end that checks a few things like that, and aborts on failure. WDYT? > Assume a suitable PATH is set, try: > $ guix package -r wireless-tools > $ env MANPATH=3D manpath > Get: > /run/current-system/profile/man:/home/iyzsong/.guix-profile/share/man > It's because wireless-tools having man pages in $out/man, after apply > this patch, we should get: > /run/current-system/profile/share/man:/home/iyzsong/.guix-profile/share= /man >=20 > Then `man' will just work even without MANPATH. Indeed. I didn=E2=80=99t know MANPATH was unneeded in this case. Thanks! Ludo=E2=80=99.