File: rules

package info (click to toggle)
libb2 0.98.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,304 kB
  • sloc: ansic: 19,855; makefile: 128; sh: 13
file content (20 lines) | stat: -rwxr-xr-x 464 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# for DEB_HOST_ARCH variable
include /usr/share/dpkg/architecture.mk

%:
	dh $@

override_dh_auto_configure:
ifneq (,$(filter $(DEB_HOST_ARCH), amd64 i386 hurd-i386 kfreebsd-amd64 kfreebsd-i386 x32))
	dh_auto_configure -- --enable-fat  --disable-native
else
	dh_auto_configure -- --disable-fat --disable-native
endif

override_dh_install:
	dh_install
	rm debian/tmp/usr/lib/*/*.la