File: rules

package info (click to toggle)
librostlab-blast 1.0.1-14
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,876 kB
  • sloc: sh: 11,103; cpp: 258; makefile: 139
file content (43 lines) | stat: -rwxr-xr-x 1,037 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_install:
	d-shlibmove --commit \
		    --multiarch \
		    --exclude-la \
		    --v5 \
		    --movedev debian/tmp/usr/include/* usr/include \
		    debian/tmp/usr/lib/*/*.so
	find debian -name "lib*.la" -delete

override_dh_auto_configure:
	dh_auto_configure -- --enable-doxygen-dot --enable-doxygen-pdf=No

override_dh_auto_build:
	dh_auto_build
	$(MAKE) -C lib doxygen-doc

DINSTALLDOC = debian/librostlab-blast-doc/usr/share/doc/librostlab-blast-doc
FAKEBUILDPATH = /fakebuildpath/lib/rostlab/
override_dh_installdocs-indep:
	dh_installdocs
	find debian -name "*.md5" -delete
	sed -i 's@<path>/.*/lib/rostlab/</path>@$(FAKEBUILDPATH)</path>@' \
		$(DINSTALLDOC)/librostlab-blast.tag

override_dh_link:
	find debian -name jquery.js -delete
	dh_link

override_dh_compress:
	dh_compress -Xlibrostlab-blast.tag

override_dh_auto_clean:
	dh_auto_clean
	rm -f lib/librostlab-blast.tag