Alert package maintainer about versioned dir option
If someone is going to backport these packages, they may have an interest in using versioned directories. These will most likely attempt to set directories on the build command line, thus it is most natural to insert a suggestion about this option there.
This commit is contained in:
1
debian/rules
vendored
1
debian/rules
vendored
@@ -18,6 +18,7 @@ override_dh_auto_clean:
|
||||
override_dh_auto_build:
|
||||
dh_auto_build --buildsystem=cmake
|
||||
|
||||
# consider using -DUSE_VERSIONED_DIR=ON if backporting
|
||||
override_dh_auto_configure:
|
||||
dh_auto_configure --buildsystem=cmake -- -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=1 -DCMAKE_INSTALL_DOCDIR=share/doc/libopm-core1 -DWHOLE_PROG_OPTIM=ON -DUSE_RUNPATH=OFF
|
||||
|
||||
|
||||
@@ -58,6 +58,7 @@ This package contains the applications for opm-core
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
# consider using -DUSE_VERSIONED_DIR=ON if backporting
|
||||
%build
|
||||
cmake28 -DBUILD_SHARED_LIBS=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCMAKE_INSTALL_DOCDIR=share/doc/%{name}-%{version} -DWHOLE_PROG_OPTIM=ON -DUSE_RUNPATH=OFF
|
||||
make
|
||||
|
||||
Reference in New Issue
Block a user