File: rules

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

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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@ -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