Use %doc macro to install docs

This commit is contained in:
Christopher Meng 2014-02-20 11:59:43 +08:00
parent b591cfee7d
commit 1e1540dfc8

View File

@ -47,6 +47,8 @@ make
%install
make install INSTALL="%{__install} -p" DESTDIR=%{buildroot}
rm -f %{buildroot}%{_infodir}/dir
# Use %%doc macro to install instead.
rm -f %{buildroot}%{_docdir}/%{name}
mkdir ./examples
pushd ./doc