File: rules

package info (click to toggle)
libdisplaymigration 0.28-11
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 164 kB
  • ctags: 112
  • sloc: ansic: 472; makefile: 69; sh: 1
file content (22 lines) | stat: -rwxr-xr-x 526 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
22
#!/usr/bin/make -f

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

export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@

override_dh_auto_build:
	echo CFLAGS: $(CFLAGS)
	echo LDFLAGS: $(LDFLAGS)
	dh_auto_build -- DESTDIR=debian/tmp/ PREFIX=/usr LDFLAGS=$(LDFLAGS)

override_dh_auto_install:
	make install install-devel DESTDIR=debian/tmp/ PREFIX=/usr LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)/

override_dh_install:
	dh_install

override_dh_strip:
	dh_strip --dbg-package=libdisplaymigration0-dbg