File: rules

package info (click to toggle)
libechonest 1.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 748 kB
  • sloc: cpp: 7,323; makefile: 12
file content (21 lines) | stat: -rwxr-xr-x 713 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export DEB_CXXFLAGS_MAINT_APPEND = -fvisibility=hidden -fvisibility-inlines-hidden

%:
	dh $@ --dbg-package=libechonest-dbg --parallel --with=pkgkde-symbolshelper

override_dh_install:
	# Replace the correct arch triplet using the templates.
	sed s/%DEB_HOST_MULTIARCH%/$(DEB_HOST_MULTIARCH)/ \
	debian/libechonest1.2.install.in > debian/libechonest1.2.install
	sed s/%DEB_HOST_MULTIARCH%/$(DEB_HOST_MULTIARCH)/ \
	debian/libechonest-dev.install.in > debian/libechonest-dev.install
	dh_install

override_dh_makeshlibs:
	dh_makeshlibs -- -c0