File: rules

package info (click to toggle)
libseqlib 1.1.2%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,508 kB
  • sloc: cpp: 7,176; sh: 805; makefile: 60
file content (23 lines) | stat: -rwxr-xr-x 658 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
#!/usr/bin/make -f

# DH_VERBOSE := 1

include /usr/share/dpkg/default.mk

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_install:
	dh_install
	# Trick to get also headers moved by d-shlibmove
	cp -a SeqLib debian # note: also GenomicRegionCollection.cpp is really needed by freebayes
	d-shlibmove --commit \
		    --multiarch \
		    --devunversioned \
		    --exclude-la \
		    --movedev debian/SeqLib usr/include \
                    src/.libs/$(DEB_SOURCE).so
	mkdir -p $(CURDIR)/debian/libseqlib-dev/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig
	mv libseqlib.pc $(CURDIR)/debian/libseqlib-dev/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig