File: rules

package info (click to toggle)
librostlab 1.0.20-10
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,640 kB
  • sloc: sh: 10,149; cpp: 838; makefile: 111
file content (29 lines) | stat: -rwxr-xr-x 689 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
24
25
26
27
28
29
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with linktree

override_dh_auto_configure:
	dh_auto_configure -- $(if $(filter librostlab-doc,$(shell dh_listpackages)),--enable-doxygen-dot --enable-doxygen-pdf)

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

override_dh_install-arch:
	dh_install
	d-shlibmove --commit \
		    --multiarch \
		    --exclude-la \
		    --movedev debian/tmp/usr/include/* usr/include \
		    debian/tmp/usr/lib/*/*.so

override_dh_installdocs:
	dh_installdocs
	find debian -name "*_*.md5" -delete

override_dh_compress:
	dh_compress -Xlibrostlab.tag