bug-standards
[Top][All Lists]
Advanced

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

Re: [gnu.org #742057] Make standard targets


From: Alfred M. Szmidt
Subject: Re: [gnu.org #742057] Make standard targets
Date: Tue, 10 Apr 2012 05:27:51 -0400

   > address@hidden - Mon Apr 09 18:50:57 2012]:
   > 
   > http://www.gnu.org/prep/standards/html_node/Standard-Targets.html
   > 
   > Where would I communicate the request that the above standard should
   > include a “binary-distribution" target that deletes everything except
   > files necessary for a “build install”.
   > 
   > For example, I would build gcc on one server, then do a “make
   > binary-distribution”, then rsync it to other servers, where I can
   > to a make install.
   > 
   > To go along with this, there should be a make target that builds
   > a runtime-requirements file, containing an inventory of
   > everything that will be required for the package to run, and
   > there should be a program that compares the information in
   > runtime-requirements with the current system to diagnose any
   > problems that might interfere with an install.

You can easily do this using `make install DESTDIR=...' where DESTDIR
specifies a temporary directory.  E.g.

./configure --prefix=/usr/local
make install DESTDIR=/tmp/FOO
tar -C /tmp/FOO -cvf /tmp/FOO.tar .

Now you can easily install something.tar on your systems in
/usr/local; or even rsync /tmp/FOO to your targets.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]