This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: How to handle documentation and move it in the right place.
- From: Bob Friesenhahn <bfriesen at simple dot dallas dot tx dot us>
- To: Hans Deragon <hans at deragon dot biz>
- Cc: automake at gnu dot org
- Date: Wed, 25 Feb 2004 16:18:49 -0600 (CST)
- Subject: 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