Skip to content

Commit 80ca51d

Browse files
committed
pkg BUGFIX platform without make
'make doc' fails on platforms without make, rely on cmake to find the build system
1 parent 484ff06 commit 80ca51d

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

distro/pkg/rpm/libyang.spec

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,8 @@ written (and providing API) in C.
7070
%else
7171
%cmake -DCMAKE_BUILD_TYPE=RELWITHDEBINFO
7272
%cmake_build
73-
%if "x%{?suse_version}" == "x"
74-
cd %{__cmake_builddir}
75-
%endif
7673
%endif
77-
make doc
74+
%cmake_build --target doc
7875

7976
%check
8077
%if ( 0%{?rhel} == 0 ) || 0%{?rhel} > 7

0 commit comments

Comments
 (0)