From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander GQ Gerasiov Subject: Re: can-utils: install in /usr/bin instead of /usr/local/bin ?? Date: Thu, 23 Jan 2014 20:26:12 +0400 Message-ID: <20140123202612.3ab46825@snail> References: <52E12015.7000201@hartkopp.net> <52E12081.4010301@pengutronix.de> <52E12337.5020207@pengutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eol.lvk.cs.msu.su ([158.250.17.73]:60941 "EHLO eol.lvk.cs.msu.su" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751468AbaAWQdJ (ORCPT ); Thu, 23 Jan 2014 11:33:09 -0500 In-Reply-To: <52E12337.5020207@pengutronix.de> Sender: linux-can-owner@vger.kernel.org List-ID: To: Marc Kleine-Budde Cc: Yegor Yefremov , Oliver Hartkopp , "linux-can@vger.kernel.org" , Nikita Thu, 23 Jan 2014 15:12:07 +0100 Marc Kleine-Budde wrote: > 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=/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=/usr Well... I seen some strange behavior when tried to use autohell So I use plain Makefile in my not-yet-uploaded-into-Debian package. 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. 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). Otherwise package maintainers have some headache in writing correct build scripts. -- Regards, Alexander.