File: rules

package info (click to toggle)
xxhash 0.8.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 812 kB
  • sloc: ansic: 7,292; makefile: 478; cpp: 23
file content (19 lines) | stat: -rwxr-xr-x 380 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

#export DH_VERBOSE=1

include /usr/share/dpkg/architecture.mk

ifneq (,$(filter $(DEB_HOST_ARCH_CPU),i386 amd64))
	export DISPATCH=1
endif

%:
	dh $@

override_dh_auto_install:
	$(MAKE) PREFIX=$(CURDIR)/debian/tmp/usr LIBDIR=$(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH) install
	dh_install

# not to be run, removes compiled files
override_dh_auto_test: