From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: units_cur Date: Fri, 30 Mar 2018 16:45:29 +0530 Message-ID: <87tvsxizla.fsf@gmail.com> References: <87370l96az.fsf@gmail.com> <87a7ututad.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f1s0Q-0000yf-DR for help-guix@gnu.org; Fri, 30 Mar 2018 07:15:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f1s0N-0003vw-AC for help-guix@gnu.org; Fri, 30 Mar 2018 07:15:38 -0400 In-reply-to: <87a7ututad.fsf@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: help-guix --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > We could build it with --localstatedir=3D/var, but would the initial > =E2=80=98currency.units=E2=80=99 be picked up? Hmm, I don't see how that would work considering currency.units is located at PREFIX/share/units/currency.units Maybe I got you wrong. What we want to do here is move PREFIX/share/units to a writable location. With ./configure it's possible to move "datarootdir", but that also moves the info and the man page. Thus we need to rectify those 2 locations: > ./configure --datarootdir=3D/var --mandir=3D/usr/local/share/man --infod= ir=3D/usr/local/share/info Disclaimer: I don't know autoconf very well, I think we should use a special syntax for PREFIX instead of /usr/local/. The result should be /var/units/currency.units (and 2 other files) =2D-=20 Pierre Neidhardt --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlq+HFEACgkQm9z0l6S7 zH+yYggAo3z9GOP8EThh6NiJ9HSIcpce7wWjnTnWSmlZR496xhUkDquPV/tpAz0U 8vMJEzjpbQpaATCrsIxgqwUym1g2WmxoQOto92txAGgMBMA+N2QuD+01AzR9sTv0 GBCDWQOJdi7Z+gmiIQhP8AMpFLfm/z1dXaDgyCk2B3lx6YmTxKp3OWdTHaLfyWTK ZU1lhQ6FHmC0tqS7g2eV417lnV/8fbRrLJBxDNnDbNSJTqkxNfhLc9A9hsnKkBot +hk4PiuOR/RtQrJe+oL29BWKuopdnnRDXORdtoP8+Et++TWXT1wT5SdNynuwIpe4 lXKmxF73q17WhLo1HjY7Z6k6XGeE1Q== =vOCN -----END PGP SIGNATURE----- --=-=-=--