This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: package creation


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]