You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.2 KiB
36 lines
1.2 KiB
14 years ago
|
#!/usr/bin/make -f
|
||
6 years ago
|
|
||
14 years ago
|
include /usr/share/cdbs/1/rules/debhelper.mk
|
||
6 years ago
|
include /usr/share/cdbs/1/class/cmake.mk
|
||
14 years ago
|
|
||
|
DEB_BUILD_OPTIONS := nostrip
|
||
|
export DEB_BUILD_OPTIONS = debug nostrip
|
||
|
|
||
|
CFLAGS=-g -Wall -fPIC
|
||
|
|
||
|
DEB_MAKE_INSTALL_TARGET := install DESTDIR="$(DEB_DESTDIR)"
|
||
|
DEB_INSTALL_DOCS_ALL :=
|
||
12 years ago
|
|
||
4 years ago
|
# The default gzip compressor has been changed in dpkg >= 1.17.0.
|
||
|
deb_default_compress = $(shell LANG=C dpkg-deb --version | head -n1 | \
|
||
|
sed -e "s|.*version ||" -e "s| .*||" | \
|
||
|
xargs -r dpkg --compare-versions 1.17.0 lt \
|
||
|
&& echo xz || echo gzip)
|
||
|
ifeq ($(deb_default_compress),gzip)
|
||
12 years ago
|
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
|
||
|
&& echo xz || echo bzip2)
|
||
4 years ago
|
endif
|
||
11 years ago
|
|
||
|
DEB_DH_SHLIBDEPS_ARGS_ALL=--dpkg-shlibdeps-params=--ignore-missing-info
|
||
6 years ago
|
|
||
|
DEB_CMAKE_EXTRA_FLAGS := \
|
||
4 years ago
|
-DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
|
||
6 years ago
|
-DCMAKE_INSTALL_PREFIX="/usr" \
|
||
|
-DCONFIG_INSTALL_DIR="/etc/trinity" \
|
||
|
-DSYSCONF_INSTALL_DIR="/etc" \
|
||
|
-DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
|
||
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||
|
-DCMAKE_VERBOSE_MAKEFILE="ON" \
|
||
|
-DCMAKE_SKIP_RPATH="OFF" \
|
||
|
-DWITH_ALL_OPTIONS="ON"
|