diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2019-10-29 16:02:21 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-10-29 16:03:04 +0100 |
commit | c9bb196e3bc20aef636c7478727f24aa7656b3cf (patch) | |
tree | 8e939963d110c0b168d654031a12a52fdfa23b6a /ubuntu/_base/applications/tdenetworkmanager/debian/rules | |
parent | 6f34021f02518ce923b303bf2d7c3105ac12e842 (diff) | |
download | tde-packaging-c9bb196e3bc20aef636c7478727f24aa7656b3cf.tar.gz tde-packaging-c9bb196e3bc20aef636c7478727f24aa7656b3cf.zip |
DEB tdenetworkmanager: Update CMake build.
The man page has been moved to the main tree.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 341e99631396ee1726693043dbbf5b49a1792c73)
Diffstat (limited to 'ubuntu/_base/applications/tdenetworkmanager/debian/rules')
-rwxr-xr-x | ubuntu/_base/applications/tdenetworkmanager/debian/rules | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/ubuntu/_base/applications/tdenetworkmanager/debian/rules b/ubuntu/_base/applications/tdenetworkmanager/debian/rules index b2b440085..cee2a3058 100755 --- a/ubuntu/_base/applications/tdenetworkmanager/debian/rules +++ b/ubuntu/_base/applications/tdenetworkmanager/debian/rules @@ -1,22 +1,19 @@ #!/usr/bin/make -f -# Set LD_LIBRARY_PATH to the installed library directory to allow dh_shlibdeps to function -# Also include the main Trinity path -ifeq ("$(LD_LIBRARY_PATH)", "") -LD_LIBRARY_PATH=debian/tmp/opt/trinity/lib -else -LD_LIBRARY_PATH += :debian/tmp/opt/trinity/lib -endif -export LD_LIBRARY_PATH - 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 := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \ --DWITH_OPENVPN="ON" -DWITH_VPNC="ON" -DWITH_PPTP="ON" - -DEB_INSTALL_DOCS_ALL := -XNEWS -XTODO - DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) + +DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ + -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" \ + -DBUILD_ALL="ON" \ + -DWITH_ALL_OPTIONS="ON" |