File: rules

package info (click to toggle)
bluedevil 1.0~rc3-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,040 kB
  • ctags: 670
  • sloc: cpp: 5,654; xml: 424; makefile: 11; sh: 2
file content (17 lines) | stat: -rwxr-xr-x 580 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

# add epoch 1 to the kdebluetooth package
KDEBLUETOOTH_VERSION := $(shell dpkg-parsechangelog | grep '^Version: ' | sed 's/^Version: /1:/')

override_dh_auto_configure:
	dh_auto_configure --buildsystem=kde -- \
			-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--no-undefined -Wl,--as-needed" \
			-DCMAKE_MODULE_LINKER_FLAGS="-Wl,--no-undefined -Wl,--as-needed" \
			-DCMAKE_EXE_LINKER_FLAGS="-Wl,--no-undefined -Wl,--as-needed"

override_dh_gencontrol:
	dh_gencontrol -pkdebluetooth -- -v$(KDEBLUETOOTH_VERSION)
	dh_gencontrol -pbluedevil

%:
	dh --parallel --with kde $@