[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Put GNU build system files in a subdirectory?
From: |
Fabrício Zimmerer Murta |
Subject: |
Re: Put GNU build system files in a subdirectory? |
Date: |
Tue, 30 Apr 2013 18:11:17 -0300 |
would it be too naive of my part to think that you could leave everything on
the GNUbuild/ directory and pointing to ../src?
I like to have the configure script on the root of the package and I assume
this organization you want would be of a specific package not meant to
follow general 'open source' format, so you could even make use of nested
packages (if the above solution is ugly or does not work) and point a
sub-package as ../src (and have other configure.ac into there, what would be
undesirable and sounds senseless for default format packages).
But if the idea is have a little extra effort to make users life easier
(trying do hide unneeded files from the user or keeping them on a separate
directory) that might be a try.
AFAIK you can tar -xvzf <packname>; mkdir <packbld>; cd <packbld>;
../<packname>/configure and have all built on <packbld> directory. It
wouldnt then block doing GNUbuild/configure if you dont want users to be
presented to the whole stuff at sight.
Of course this is always abandoning the standartization GNU Build system
uses yet benefitting of the portability GNU Build system grants...
the generic cd <packdir>; ./configure; make all install is what I expect
from a 'generic' GNU Build system-capable pack.
Well, just trying to give some ideas without having to change the whole
stuff, I might be very wrong and I do not mean any offense to anyone.
- Fabricio
By the way, as far as the README file on the root is very clear and
objective on the requirements, and that they actually work, I think
packagers wouldn't have hard days integrating the package into a given
distribution. So, just assure the building process is not too complex and
fixing things related to it does not require ninjas... :) I think iptraf
does not use GNU build system... not at the 'regular' way.
-----Original Message-----
From: Andy Tai
Sent: Tuesday, April 30, 2013 5:15 PM
To: Diego Elio Pettenò
Cc: address@hidden
Subject: Re: Put GNU build system files in a subdirectory?
The original question was a question, not a "cry."
It is legitimate desire to have clean ways of organizing build system files
and source files.
On Tue, Apr 30, 2013 at 1:10 PM, Diego Elio Pettenò
<address@hidden>wrote:
On 29/04/2013 20:16, Bob Rossi wrote:
> Autotools is a great build system. However, after configuring it to
> place as many files as possible in a subdirectory, it still takes up
> 87.5% of my projects root directory.
And?
Do you really think that just for the sake of ls output you should mess
up with a build system, making distribution packagers cry?
Because that's all I see on this list in the past two threads.
--
Diego Elio Pettenò — Flameeyes
address@hidden — http://blog.flameeyes.eu/
--
Andy Tai, address@hidden, Skype: licheng.tai
Year 2013 民國102年
自動的精神力是信仰與覺悟
自動的行為力是勞動與技能