On Fri, Feb 25, 2000 at 05:43:03PM +0530, Binand Raj S. wrote:
> Well, as the RPM documentation says, there is no reliable method to decide
> which files got installed while doing a make install. So, you have to manually
> check the output of make -n install and then create the filelist for yourself.
> I have another program called autospec which attempts to parse the output of
> make -n install and then generates a spec file (but of course it is too much
> to expect this one to parse the rich command language bash offers and
> Makefiles liberally use, but it is a good starting point).
I like the technique in some of the KDE spec files. Use an install root
different from "/" and get make to install there and then use "find" to
get the list of files to be installed.
But of course, this requires that the make file support the concept of
an install root. In practice, since most of these packages are automake
based, they do.
-Arun
--------------------------------------------------------------------------
LI is all for free speech, but this list was created for a purpose --
to help popularise Linux in India. If your messages are counterproductive
to that purpose, your privileges to submit messages can and will be revoked.