summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-10-17 21:04:46 +0900
committerMichele Calgaro <[email protected]>2023-10-17 21:04:46 +0900
commitb4a9fc16b3e90478d0709a7fe628964c507fd6b1 (patch)
treee2e48d6167d797c9444bf9e6c89f238300d72665 /debian/rules
parente38e61479b866b20cfc5cb30143988cdfaf636ae (diff)
downloadtwin-style-fahrenheit-b4a9fc16b3e90478d0709a7fe628964c507fd6b1.tar.gz
twin-style-fahrenheit-b4a9fc16b3e90478d0709a7fe628964c507fd6b1.zip
DEB: updated packaging files to TDE standard.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a6797f1
--- /dev/null
+++ b/debian/rules
@@ -0,0 +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_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"