diff options
Diffstat (limited to 'ubuntu/_base/common/cmake/debian/rules')
-rwxr-xr-x | ubuntu/_base/common/cmake/debian/rules | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ubuntu/_base/common/cmake/debian/rules b/ubuntu/_base/common/cmake/debian/rules new file mode 100755 index 000000000..95a42b3f7 --- /dev/null +++ b/ubuntu/_base/common/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 ) |