File: rules

package info (click to toggle)
idba 1.1.3-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,840 kB
  • sloc: cpp: 36,571; sh: 1,346; makefile: 199; python: 99; perl: 8
file content (19 lines) | stat: -rwxr-xr-x 536 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

# DH_VERBOSE := 1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

include /usr/share/dpkg/default.mk

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- LDFLAGS="$(LDFLAGS) -Wl,--as-needed" LIBS="$(LIBS) -latomic"

override_dh_install:
	dh_install
	# for the moment the role of these scripts is totally unknown but they do not seem to be necessary
	mv debian/$(DEB_SOURCE)/usr/bin/*.py debian/$(DEB_SOURCE)/usr/lib/idba/
	mv debian/$(DEB_SOURCE)/usr/bin/validate_blat* debian/$(DEB_SOURCE)/usr/lib/idba/