diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-04-04 03:02:11 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-04-04 16:10:05 +0200 |
commit | a92a915c5d3a438e4d8f7b538efeca6b81fcc4a5 (patch) | |
tree | 1026c3d6ecf34c4910f61be62e09761e34eb7318 /dilos/dependencies/tqca/debian/rules | |
parent | 166fcf9e56586808911b33205ab2aa1c035afe2e (diff) | |
download | tde-packaging-a92a915c5d3a438e4d8f7b538efeca6b81fcc4a5.tar.gz tde-packaging-a92a915c5d3a438e4d8f7b538efeca6b81fcc4a5.zip |
DEB: Move DEB_DH_BUILDDEB_ARGS to common cdbs rules.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 3d0fe45a7b0b586d096644a3581df8307787eb3a)
Diffstat (limited to 'dilos/dependencies/tqca/debian/rules')
-rwxr-xr-x | dilos/dependencies/tqca/debian/rules | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dilos/dependencies/tqca/debian/rules b/dilos/dependencies/tqca/debian/rules new file mode 100755 index 000000000..21df58b4f --- /dev/null +++ b/dilos/dependencies/tqca/debian/rules @@ -0,0 +1,19 @@ +#! /usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/cmake.mk +include debian/cdbs/debian-tde.mk + +ifdef DEB_HOST_MULTIARCH + CMAKE_INSTALL_LIBDIR = lib/$(DEB_HOST_MULTIARCH) +else + CMAKE_INSTALL_LIBDIR = lib +endif + +DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DCMAKE_VERBOSE_MAKEFILE="ON" \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_LIBDIR=$(CMAKE_INSTALL_LIBDIR) \ + -DWITH_ALL_OPTIONS="ON" |