diff options
author | Slávek Banko <[email protected]> | 2021-08-18 01:26:06 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2021-08-18 01:26:26 +0200 |
commit | 3074e7e1b94ef6a29f0c9a7077eeff5a0599e18d (patch) | |
tree | 69776337eae0a94c5b3512dca7d6ed40298abc60 /ubuntu/_base/applications/utilities/qalculate-tde/debian/rules | |
parent | bfe9a3ee27b3676faba090dd819189dbe05ce34b (diff) | |
download | tde-packaging-3074e7e1b94ef6a29f0c9a7077eeff5a0599e18d.tar.gz tde-packaging-3074e7e1b94ef6a29f0c9a7077eeff5a0599e18d.zip |
DEB qalculate-tde: Switch to cmake.
The man pages has been moved to the main tree.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 54e69d536c992645ae2fd19dbb2e1c85034298c7)
Diffstat (limited to 'ubuntu/_base/applications/utilities/qalculate-tde/debian/rules')
-rwxr-xr-x | ubuntu/_base/applications/utilities/qalculate-tde/debian/rules | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/ubuntu/_base/applications/utilities/qalculate-tde/debian/rules b/ubuntu/_base/applications/utilities/qalculate-tde/debian/rules index d03dd383d..a6797f19a 100755 --- a/ubuntu/_base/applications/utilities/qalculate-tde/debian/rules +++ b/ubuntu/_base/applications/utilities/qalculate-tde/debian/rules @@ -1,15 +1,17 @@ #!/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 -DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include -DEB_CONFIGURE_MANDIR := /opt/trinity/share/man -DEB_CONFIGURE_PREFIX := /opt/trinity -DEB_CONFIGURE_INFODIR := /opt/trinity/share/info - -install/qalculate-trinity:: - rm debian/qalculate-trinity/opt/trinity/bin/qalculate - -clean:: - rm -f po/*.gmo +DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ + -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ + -DCONFIG_INSTALL_DIR="/etc/trinity" \ + -DSYSCONF_INSTALL_DIR="/etc/trinity" \ + -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_VERBOSE_MAKEFILE="ON" \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DBUILD_ALL="ON" \ + -DWITH_ALL_OPTIONS="ON" |