File: rules

package info (click to toggle)
jbig2dec 0.20-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,080 kB
  • sloc: ansic: 14,598; python: 316; sh: 289; makefile: 93
file content (23 lines) | stat: -rwxr-xr-x 636 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

include /usr/share/dpkg/architecture.mk

%:
	dh $@

override_dh_autoreconf:
	dh_autoreconf ./autogen.sh

# avoid test_jbig2dec.py apparently relying on missing data files
override_dh_auto_test:
	TESTS="test_sha1 test_huffman test_arith" dh_auto_test

# Let d-shlibs resolve dependencies for and install library files
execute_after_dh_install:
	d-shlibmove --commit \
		--exclude-la \
		--multiarch \
		--movedev "debian/tmp/usr/include/*" usr/include/ \
		--movedev "debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/*" \
			usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig \
		debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.so