summaryrefslogtreecommitdiffstats
path: root/ubuntu/_base/common/cmake/debian/rules
blob: 95a42b3f76e354dc12aaa2ebd03d39c4bde8d385 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 )