[PATCH] Update the spec file so it can build and install the documentation
If you don't want the documentation simply build with
make RPMBUILD="rpmbuild --without docs"
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
maint
Eric W. Biederman20 years agocommitted byLinus Torvalds
@ -23,11 +24,11 @@ similar to other SCM tools (like CVS, BitKeeper or Monotone).
@@ -23,11 +24,11 @@ similar to other SCM tools (like CVS, BitKeeper or Monotone).
%build
make
make all %{!?_without_docs: doc}
%install
rm -rf $RPM_BUILD_ROOT
make dest=$RPM_BUILD_ROOT prefix=%{_prefix} install
make dest=$RPM_BUILD_ROOT prefix=%{_prefix} mandir=%{_mandir} install %{!?_without_docs: install-doc}