All of lore.kernel.org
 help / color / mirror / Atom feed
* dist files
@ 2005-03-02 21:48 Yoshinori K. Okuji
  2005-03-08 20:48 ` Marco Gerards
  0 siblings, 1 reply; 5+ messages in thread
From: Yoshinori K. Okuji @ 2005-03-02 21:48 UTC (permalink / raw)
  To: grub-devel

Hmm, I don't know if you know, but Makefile.in records distributed 
files. Apparently, this list is not maintained at all. Possibly we 
should consider a better way to define which files should be 
distributed.

Okuji



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: dist files
  2005-03-02 21:48 dist files Yoshinori K. Okuji
@ 2005-03-08 20:48 ` Marco Gerards
  2005-03-08 22:56   ` Yoshinori K. Okuji
  0 siblings, 1 reply; 5+ messages in thread
From: Marco Gerards @ 2005-03-08 20:48 UTC (permalink / raw)
  To: The development of GRUB 2

"Yoshinori K. Okuji" <okuji@enbug.org> writes:

> Hmm, I don't know if you know, but Makefile.in records distributed 
> files. Apparently, this list is not maintained at all. Possibly we 
> should consider a better way to define which files should be 
> distributed.

Unfortunately I know little about building processes.  I see that it
was not updated and I also think automating this process would be
wise.  Does no one have any idea how to do this?

Thanks,
Marco




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: dist files
  2005-03-08 20:48 ` Marco Gerards
@ 2005-03-08 22:56   ` Yoshinori K. Okuji
  2005-03-19 18:13     ` Yoshinori K. Okuji
  0 siblings, 1 reply; 5+ messages in thread
From: Yoshinori K. Okuji @ 2005-03-08 22:56 UTC (permalink / raw)
  To: The development of GRUB 2

On Tuesday 08 March 2005 09:48 pm, Marco Gerards wrote:
> Unfortunately I know little about building processes.  I see that it
> was not updated and I also think automating this process would be
> wise.  Does no one have any idea how to do this?

As far as I know, there are three ways to do this:

1. Automake determines if a file should be distributed based on Makefile.am 
and some special rules (such as configure). It is difficult for us to use, 
because we have arch-specific makefiles (this might be feasible if I make 
genmk.rb to generate another piece of makefile which specifies all 
distributed files).

2. A combination of CVS and a small tool can generate a distribution fairly 
easily. I can simply export files in the CVS and regenerate some files if 
necessary.

3. A file called MANIFEST is used in many projects. This is basically the same 
as our way. The file lists all files (sometimes with wildcards).

Okuji



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: dist files
  2005-03-08 22:56   ` Yoshinori K. Okuji
@ 2005-03-19 18:13     ` Yoshinori K. Okuji
  2005-03-19 19:25       ` Marco Gerards
  0 siblings, 1 reply; 5+ messages in thread
From: Yoshinori K. Okuji @ 2005-03-19 18:13 UTC (permalink / raw)
  To: The development of GRUB 2

On Tuesday 08 March 2005 11:56 pm, Yoshinori K. Okuji wrote:
> 3. A file called MANIFEST is used in many projects. This is basically the
> same as our way. The file lists all files (sometimes with wildcards).

I chose this way. There is now a file called DISTLIST in the top source 
directory. This file is automatically generated by gendistlist.sh. Since it 
is not easy to determine if this tool should be invoked from make, execute it 
manually when you add / remove files.

Okuji



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: dist files
  2005-03-19 18:13     ` Yoshinori K. Okuji
@ 2005-03-19 19:25       ` Marco Gerards
  0 siblings, 0 replies; 5+ messages in thread
From: Marco Gerards @ 2005-03-19 19:25 UTC (permalink / raw)
  To: The development of GRUB 2

"Yoshinori K. Okuji" <okuji@enbug.org> writes:

> On Tuesday 08 March 2005 11:56 pm, Yoshinori K. Okuji wrote:
>> 3. A file called MANIFEST is used in many projects. This is basically the
>> same as our way. The file lists all files (sometimes with wildcards).
>
> I chose this way. There is now a file called DISTLIST in the top source 
> directory. This file is automatically generated by gendistlist.sh. Since it 
> is not easy to determine if this tool should be invoked from make, execute it 
> manually when you add / remove files.

Sure.  This sounds like a very nice solution.

Thanks,
Marco




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-03-19 19:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-02 21:48 dist files Yoshinori K. Okuji
2005-03-08 20:48 ` Marco Gerards
2005-03-08 22:56   ` Yoshinori K. Okuji
2005-03-19 18:13     ` Yoshinori K. Okuji
2005-03-19 19:25       ` Marco Gerards

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.