[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: creating a report that displays what has been installed
From: |
Ralf Wildenhues |
Subject: |
Re: creating a report that displays what has been installed |
Date: |
Thu, 3 Feb 2011 20:46:27 +0100 |
User-agent: |
Mutt/1.5.20 (2010-08-04) |
Hello Vincent,
* Vincent Torri wrote on Thu, Feb 03, 2011 at 04:32:36PM CET:
> I'm trying to improve the autotools of he openjpeg project. The lead dev
> wants me to display in the terminal what has been installed. I tried to
> argue that looking at what is already in the terminal is sufficient, he
> still prefers to see it at the end of the process.
>
> One possible way would be to add in a file some output strings (using a
> hook) each time something is installed, and in the top-level Makefile.am,
> displaying that report file.
>
> Is there a smarter way to do this ?
Hmm. Even what you suggest isn't easy to do, at least not portably.
Here's a fairly expensive way to list those files; it depends on DESTDIR
support, and assumes you do not have a file or directory ./DEST:
make install DESTDIR=`pwd`/DEST
echo "Installed files:"
(cd DEST && find .)
rm -rf DEST
Alternatively, you can override prefix=... at install time, but libtool
might complain a bit.
Hope that helps.
Cheers,
Ralf