Set ERL_LIBS for building/installing the docs
Without setting ERL_LIBS, the "make release-docs" target cannot find the include_lib("xmerl/lib/xmerl.erl") file and thus the doc build and install fails. We should examine adding the release-docs target to the "make docs" command in the %build section, instead of having release-docs being implicitly invoked by the install-docs target in the %install section.
This commit is contained in:
parent
871394dda4
commit
e89639384c
@ -1093,7 +1093,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/erlang/man/man3/erl_set_memory_block.*
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/erlang/erts-*/info
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/erlang/lib/*-*/info
|
||||
%else
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-docs
|
||||
env ERL_LIBS="$RPM_BUILD_ROOT%{_libdir}/erlang/lib" make DESTDIR=$RPM_BUILD_ROOT install-docs
|
||||
%endif
|
||||
%endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user