Update to new out-of-source build mechanism
This commit is contained in:
parent
be08d4ffcf
commit
1998276a61
11
airrac.spec
11
airrac.spec
@ -1,3 +1,6 @@
|
||||
# Force out of source build
|
||||
%undefine __cmake_in_source_build
|
||||
|
||||
#
|
||||
%global mydocs __tmp_docdir
|
||||
#
|
||||
@ -61,11 +64,11 @@ online (http://%{name}.org).
|
||||
|
||||
|
||||
%build
|
||||
%cmake .
|
||||
%make_build
|
||||
%cmake
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%cmake_install
|
||||
|
||||
mkdir -p %{mydocs}
|
||||
mv $RPM_BUILD_ROOT%{_docdir}/%{name}/html %{mydocs}
|
||||
@ -76,7 +79,7 @@ rm -f %{mydocs}/html/installdox
|
||||
rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/{NEWS,README.md,AUTHORS}
|
||||
|
||||
%check
|
||||
ctest
|
||||
%ctest
|
||||
|
||||
|
||||
%files
|
||||
|
Loading…
Reference in New Issue
Block a user