This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: package creation
- From: bob at proulx dot com (Bob Proulx)
- To: automake at gnu dot org
- Date: Sun, 15 Aug 2004 11:00:52 -0600
- Subject: Re: package creation
- References: <018501c47ffd$a9b59680$9c01a8c0@chivas>
Gustavo A. Baratto wrote:
> Basically, what I looking for is a 'make package' rule, where all
> the files that would be installed, plus an install script could be
> tarred up together, so we can copy the tarball to many diferent
> servers, unpack it, run the script, and the files get installed
> without the need of copying over or nfs mounting the whole source
> code? Not a fancy full blown package like rpm.
What you want is very easy to do. But really a package manager is
much the better way to go.
make install DESTDIR=/var/tmp/pkg-image-area
(cd /var/tmp/pkg-image-area && tar cvzf /var/tmp/pkg.tar.gz .)
> Maybe the install script would have an uninstall feature as well (I
> have seen a thread requesting this).
That is much more difficult. There are complicated issues there.
Bob