[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: how to determine the file list for a spec file





On Oct 31, 2007 2:06 PM, Bob Proulx <bob proulx com> wrote:
Fulko Hew wrote:
> If I have a project that I've inherited, and when I
> run it's make install it scatters files all over the filesystem...

Oh fun...

> Is there an easy way of finding out what files went where,
> in order to come up with the list of files to put into the %files section?
 
... snip ...


> The project uses 'configure' and I thought I could adjust
> the -prefix option to 'install' the project into a 'jail' directory
> that I could just then scan, but the -prefix value tends
> to be used inside the applications to 'know where they
> were installed'.

One: If it is a reasonable set of autotools then setting DESTDIR will
override the installation root.  Look to see if that is available.  If
so then that is definitely the better of the two things to set.

... snip ...

Thanks! That was the soulution I was looking for,
and what I thought I had with --prefix.

'--prefix' is the wrong answer to my problem,
and DESTDIR is the right answer.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]