Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # Uncomment this to turn on verbose mode.
3 #export DH_VERBOSE=1
4
5 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
6
7 %:
8 dh $@
9
10 override_dh_install:
11 d-shlibmove --commit \
12 --multiarch \
13 --exclude-la \
14 --v5 \
15 --movedev debian/tmp/usr/include/* usr/include \
16 debian/tmp/usr/lib/*/*.so
17 find debian -name "lib*.la" -delete
18
19 override_dh_auto_configure:
20 dh_auto_configure -- --enable-doxygen-dot --enable-doxygen-pdf=No
21
22 override_dh_auto_build:
23 dh_auto_build
24 $(MAKE) -C lib doxygen-doc
25
26 DINSTALLDOC = debian/librostlab-blast-doc/usr/share/doc/librostlab-blast-doc
27 FAKEBUILDPATH = /fakebuildpath/lib/rostlab/
28 override_dh_installdocs-indep:
29 dh_installdocs
30 find debian -name "*.md5" -delete
31 sed -i 's@<path>/.*/lib/rostlab/</path>@$(FAKEBUILDPATH)</path>@' \
32 $(DINSTALLDOC)/librostlab-blast.tag
33
34 override_dh_link:
35 find debian -name jquery.js -delete
36 dh_link
37
38 override_dh_compress:
39 dh_compress -Xlibrostlab-blast.tag
40
41 override_dh_auto_clean:
42 dh_auto_clean
43 rm -f lib/librostlab-blast.tag