Capturing binary and other output destined for "make install"

Started by Doug Knightover 18 years ago2 messages
#1Doug Knight
dknight@wsi.com

Is there a way within the existing installation mechanisms to capture
the files generated by an execution of "make", compiling from source,
that are copied to their locations during the "make install"? For
example, I had considered executing a "make -n install", capturing that
output, and turning it into a script. I'm not looking to make an RPM.
I've been tasked to automate our build/install process so that we build
once (including packages related to postgres like PostGIS, and some of
our own applications), and install from the result of the build onto a
number of internal servers.

Thanks,
Doug Knight

#2Joshua D. Drake
jd@commandprompt.com
In reply to: Doug Knight (#1)
Re: Capturing binary and other output destined for "make install"

Doug Knight wrote:

Is there a way within the existing installation mechanisms to capture
the files generated by an execution of "make", compiling from source,
that are copied to their locations during the "make install"? For
example, I had considered executing a "make -n install", capturing that
output, and turning it into a script. I'm not looking to make an RPM.
I've been tasked to automate our build/install process so that we build
once (including packages related to postgres like PostGIS, and some of
our own applications), and install from the result of the build onto a
number of internal servers.

make install;
make -C contrib install
tar -czvf pgsql.tar.gz /usr/local/pgsql

Sincerely,

Joshua D. Drake

Thanks,
Doug Knight

--

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/