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:
Roland Kaufmann 2013-08-23 22:46:12 +02:00
parent 844705eb0c
commit 0f8e9aad2a
2 changed files with 2 additions and 0 deletions

1
debian/rules vendored
View File

@ -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

View File

@ -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