Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 include /usr/share/dpkg/architecture.mk
4
5 %:
6 dh $@
7
8 override_dh_autoreconf:
9 dh_autoreconf ./autogen.sh
10
11 # avoid test_jbig2dec.py apparently relying on missing data files
12 override_dh_auto_test:
13 TESTS="test_sha1 test_huffman test_arith" dh_auto_test
14
15 # Let d-shlibs resolve dependencies for and install library files
16 execute_after_dh_install:
17 d-shlibmove --commit \
18 --exclude-la \
19 --multiarch \
20 --movedev "debian/tmp/usr/include/*" usr/include/ \
21 --movedev "debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/*" \
22 usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig \
23 debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.so