Commit 240bc0a6 authored by Guillaume BIENKOWSKI's avatar Guillaume BIENKOWSKI
Browse files

Use prefix for dist generation, so that debuginfos are placed on the correct directory

parent 2cce540e
......@@ -34,7 +34,7 @@ if [ ! -f @ep_config_h_file@ ]
then
@ep_autogen_command@ @ep_autogen_redirect_to_file@
@ep_configure_env@ @ep_configure_command@ @ep_configure_redirect_to_file@
make dist V=@AUTOTOOLS_VERBOSE_MAKEFILE@ @ep_redirect_to_file@
cp *.tar.gz "$RPM_TOPDIR/SOURCES"
make dist distdir='@LINPHONE_BUILDER_RPMBUILD_PACKAGE_PREFIX@$(PACKAGE)-$(VERSION)' V=@AUTOTOOLS_VERBOSE_MAKEFILE@ @ep_redirect_to_file@
cp -v *.tar.gz "$RPM_TOPDIR/SOURCES/"
@LINPHONE_BUILDER_CONFIGURE_EXTRA_CMD@
fi
......@@ -139,8 +139,7 @@ set(EP_myodbc_RPMBUILD_OPTIONS "--with bc")
set(EP_sofiasip_RPMBUILD_OPTIONS "--with bc --without glib")
set(EP_flexisip_RPMBUILD_OPTIONS "--with bc --without transcoder --without protobuf --without boostlog")
message( STATUS "PLATFORM is ${PLATFORM}")
message( STATUS "SYSTEM is ${CMAKE_SYSTEM}")
set(LINPHONE_BUILDER_RPMBUILD_PACKAGE_PREFIX "bc-")
if(PLATFORM STREQUAL "Debian")
set(LINPHONE_BUILDER_RPMBUILD_GLOBAL_OPTION "--nodeps --define 'dist deb' --define '_libdir %{_prefix}/${CMAKE_INSTALL_LIBDIR}' --define '_buildshell /bin/bash'")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment