summaryrefslogtreecommitdiffstats
path: root/ubuntu/_base/dependencies/tde-cmake/debian/rules
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2023-01-13 15:43:18 +0100
committerSlávek Banko <slavek.banko@axis.cz>2023-01-14 18:45:24 +0100
commit9a6dd2b8bf4426a490b8e50539e694bcf0e78a73 (patch)
treecb4f1b8859a9e3e68d9507363a361b602949d56a /ubuntu/_base/dependencies/tde-cmake/debian/rules
parentb627539f12bdae23fe2b0a185767e706d473a468 (diff)
downloadtde-packaging-9a6dd2b8bf4426a490b8e50539e694bcf0e78a73.tar.gz
tde-packaging-9a6dd2b8bf4426a490b8e50539e694bcf0e78a73.zip
DEB tde-cmake: Move from common submodule to dependencies.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ubuntu/_base/dependencies/tde-cmake/debian/rules')
-rwxr-xr-xubuntu/_base/dependencies/tde-cmake/debian/rules18
1 files changed, 18 insertions, 0 deletions
diff --git a/ubuntu/_base/dependencies/tde-cmake/debian/rules b/ubuntu/_base/dependencies/tde-cmake/debian/rules
new file mode 100755
index 000000000..95a42b3f7
--- /dev/null
+++ b/ubuntu/_base/dependencies/tde-cmake/debian/rules
@@ -0,0 +1,18 @@
+#!/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_VERBOSE_MAKEFILE="ON" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
+
+common-binary-indep::
+ ( set -e; \
+ tmpf=`mktemp debian/cmake-versions.XXXXXX`; \
+ perl debian/cdbs/cmake-versions.pl >$$tmpf; \
+ for p in $(DEB_INDEP_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )