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

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

 





On Oct 31, 2007 2:06 PM, Bob Proulx <bob@xxxxxxxxxx> 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.

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux