File: rules

package info (click to toggle)
libsx 2.08-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 2,668 kB
  • sloc: ansic: 8,739; sh: 8,603; makefile: 62
file content (23 lines) | stat: -rwxr-xr-x 512 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
23
#!/usr/bin/make -f



# TO set SHELL in Makefiles that are shipped; needed for reproducibility
export CONFIG_SHELL=/bin/sh

# The magic debhelper rule:
%:
	dh $@ --no-parallel

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)

CFLAGS := `dpkg-buildflags --get CFLAGS`
CFLAGS += `dpkg-buildflags --get CPPFLAGS`

override_dh_installexamples:
	$(MAKE) clean
	dh_installexamples -Xlibsx.h

override_dh_auto_test:
	@echo Disabled to avoid building examples