The HTML pages are no longer built on EPEL.

This commit is contained in:
Denis Arnaud 2012-12-22 20:45:17 +01:00
parent 72a0beeb6a
commit d44b21dd9b
1 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,8 @@
# #
%global mydocs __tmp_docdir %global mydocs __tmp_docdir
%if 0%{?rhel}
%global _doc_comp_flag_ -DINSTALL_DOC:BOOL=OFF
%endif
# #
Name: stdair Name: stdair
Version: 1.00.0 Version: 1.00.0
@ -63,7 +66,7 @@ online (http://%{name}.org).
%build %build
mkdir -p build mkdir -p build
pushd build pushd build
%cmake .. %cmake %{_doc_comp_flag_} ..
make %{?_smp_mflags} make %{?_smp_mflags}
popd popd
@ -77,8 +80,12 @@ popd
find $RPM_BUILD_ROOT%{_libexecdir}/%{name} -type f -name '*.sh' -exec chmod +x {} \; find $RPM_BUILD_ROOT%{_libexecdir}/%{name} -type f -name '*.sh' -exec chmod +x {} \;
mkdir -p %{mydocs} mkdir -p %{mydocs}
%if 0%{?rhel}
mkdir %{mydocs}/html
%else
mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html %{mydocs} mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html %{mydocs}
rm -f %{mydocs}/html/installdox rm -f %{mydocs}/html/installdox
%endif
%check %check
pushd build pushd build