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: How to handle documentation and move it in the right place.


On Wed, 25 Feb 2004, Hans Deragon wrote:

>    I am trying to jugle with automake and rpmbuild to get an RPM built with the
> documentation in the proper place.  I tried many things, but I never succeded to
> get my documentation installed where I want.  When the documentation is
> installed in the right place using "make install", rpmbuild can't get the
> documentation or complains.

The most common procedure for building RPMs appears to be to do

  make DESTDIR=/somewhere install

and then reference the installed files in /somewhere in the RPM spec
file.  This way the normal Automake install target is used and you
don't need to worry about anything but 'install' in your Makefile.am
files.

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us
http://www.simplesystems.org/users/bfriesen




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