File: rules

package info (click to toggle)
swami 2.0.0%2Bsvn389-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,288 kB
  • ctags: 3,865
  • sloc: ansic: 33,423; sh: 10,272; makefile: 603; xml: 22; sed: 16
file content (14 lines) | stat: -rwxr-xr-x 428 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --parallel --with autoreconf -Scmake

override_dh_install:
	dh_install -plibswami-dev usr/include
	dh_install -plibswami-dev usr/lib/lib*.so usr/lib/$(DEB_HOST_MULTIARCH)/
	dh_install -plibswami0 usr/lib/lib*.so.* usr/lib/$(DEB_HOST_MULTIARCH)/
	dh_install --remaining-packages