Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 # Uncomment this to turn on verbose mode.
4 #export DH_VERBOSE=1
5
6 include /usr/share/dpkg/pkg-info.mk
7
8 %:
9 dh $@
10
11 override_dh_auto_configure:
12 dh_auto_configure -- \
13 --with-ui --with-readline
14
15 override_dh_auto_build:
16 dh_auto_build
17 pod2man --utf8 debian/ispellaff2myspell \
18 > debian/ispellaff2myspell.1
19
20 override_dh_clean:
21 dh_clean debian/ispellaff2myspell.1
22
23 override_dh_installexamples:
24 dh_installexamples src/tools/example.cxx
25
26 override_dh_makeshlibs:
27 # add strict dependency if we use private headers
28 dh_makeshlibs -plibhunspell-1.7-0 -V'libhunspell-1.7-0 (>= $(DEB_VERSION_UPSTREAM)), libhunspell-1.7-0 (<< $(DEB_VERSION_UPSTREAM).1~)'
29 # back out the .shlibs/move to the correct package. It just being
30 # there in private-de seems to work, it doesn't need to be in libhunspell-1.7-0
31 # proper
32 mkdir -p debian/libhunspell-private-dev/DEBIAN/
33 mv debian/libhunspell-1.7-0/DEBIAN/shlibs \
34 debian/libhunspell-private-dev/DEBIAN/shlibs
35 # and now for "real" libhunspell-1.7-0
36 dh_makeshlibs -plibhunspell-1.7-0 -V'libhunspell-1.7-0 (>= 1.7.3+really1.7.3)'