File: rules

package info (click to toggle)
idba 1.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,820 kB
  • ctags: 6,960
  • sloc: cpp: 36,571; sh: 1,343; makefile: 199; python: 99; perl: 8
file content (19 lines) | stat: -rwxr-xr-x 544 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

DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')

%:
	dh $@ --with autoreconf --parallel

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
	rm -f debian/$(DEBPKGNAME)/usr/bin/*.py
	rm -f debian/$(DEBPKGNAME)/usr/bin/validate_blat*