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
[EMAIL PROTECTED]
http://www.simplesystems.org/users/bfriesen



Reply via email to