Re: [HACKERS] Capturing binary and other output destined for "make install"

2007-06-27 Thread Joshua D. Drake

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/


---(end of broadcast)---
TIP 4: Have you searched our list archives?

  http://archives.postgresql.org


[HACKERS] Capturing binary and other output destined for "make install"

2007-06-27 Thread Doug Knight
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