From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Kleine-Budde Subject: Re: can-utils: install in /usr/bin instead of /usr/local/bin ?? Date: Thu, 23 Jan 2014 21:32:58 +0100 Message-ID: <52E17C7A.5070209@pengutronix.de> References: <52E12015.7000201@hartkopp.net> <52E12081.4010301@pengutronix.de> <52E12337.5020207@pengutronix.de> <20140123202612.3ab46825@snail> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="D8qceMTX6O9a93oWxLuwNEGA3BAxR9B2L" Return-path: Received: from metis.ext.pengutronix.de ([92.198.50.35]:45915 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751331AbaAWUdH (ORCPT ); Thu, 23 Jan 2014 15:33:07 -0500 In-Reply-To: <20140123202612.3ab46825@snail> Sender: linux-can-owner@vger.kernel.org List-ID: To: Alexander GQ Gerasiov Cc: Yegor Yefremov , Oliver Hartkopp , "linux-can@vger.kernel.org" , Nikita This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --D8qceMTX6O9a93oWxLuwNEGA3BAxR9B2L Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 01/23/2014 05:26 PM, Alexander GQ Gerasiov wrote: > Thu, 23 Jan 2014 15:12:07 +0100 > Marc Kleine-Budde wrote: >=20 >> On 01/23/2014 03:07 PM, Yegor Yefremov wrote: >>> On Thu, Jan 23, 2014 at 3:00 PM, Marc Kleine-Budde >>> wrote: >>>> On 01/23/2014 02:58 PM, Oliver Hartkopp wrote: >>>>> Hi Marc, >>>>> >>>>> when can-utils are now intended to be packaged for Debian: >>>>> >>>>> Does it make sense to move the installation directory to /usr/bin >>>>> instead of the current /usr/local/bin target?? >>>> >>>> No, Uwe will probably use ./configure --prefix=3D/usr >>> >>> CC Alexander and Nikita. >> >> I consider the plain Makefile legacy, so using autotools for the >> debian package is the way to go. The standard way to configure the >> installation prefix is: ./configure --prefix=3D/usr >=20 > Well... I seen some strange behavior when tried to use autohell What kind of strange behaviour? > So I use plain Makefile in my not-yet-uploaded-into-Debian package. >=20 > If you want to get rid of it, I'd recommend you remove it completely > from git, rename auto* to common name (for now Makefile called > GNUmakefile or something like that) and remove from git any > autogenerated files. =46rom the GNU make info page: ""By default, when `make' looks for the makefile, it tries the following names, in order: `GNUmakefile', `makefile' and `Makefile'."" So GNUmakefile has a higher priority as Makefile. There aren't any auto generated files in the git. > So can I do auto*/configure/make, than make distclean and there will > be no *changed* files (if there are any *new* files - it's Ok). Just call: =2E/autogen.sh =2E/configure make Should work out of the box. > Otherwise package maintainers have some headache in writing correct > build scripts. Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de | --D8qceMTX6O9a93oWxLuwNEGA3BAxR9B2L Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iEYEARECAAYFAlLhfHoACgkQjTAFq1RaXHOgJgCgjz1sMZLUKpGya4ME+3k4nQIa UZsAnj+Ks36mIMXBgL2JrE6xdBPJuSkN =rHrA -----END PGP SIGNATURE----- --D8qceMTX6O9a93oWxLuwNEGA3BAxR9B2L--