[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: noobie question about including any file in my rpm



Bob Proulx wrote:

Typically in the spec file you will find a %install section.  In the
%install section you will find a %makeinstall macro that will expand
to be 'make install DEST=$RPM_BUILD_ROOT' which will copy files with
the gnu automake makefile to the $RPM_BUILD_ROOT area.  That would
probably be a good place to also copy your additional file.

  %install
  %makeinstall
  cp my_special_etc_file $RPM_BUILD_ROOT/etc/
  cp my_special_bin_file $RPM_BUILD_ROOT/usr/bin/

Bob

That worked fine, thanks!

Doug P


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]