File: rules

package info (click to toggle)
psortb 3.0.6%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 121,032 kB
  • sloc: perl: 3,652; ansic: 698; cpp: 338; sh: 27; makefile: 23
file content (29 lines) | stat: -rwxr-xr-x 652 bytes parent folder | download | duplicates (3)
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

# DH_VERBOSE := 1

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

include /usr/share/dpkg/default.mk

%:
	dh $@

override_dh_auto_clean:
	dh_auto_clean
	if [ -x psort/bin/psort.debsave ] ; then \
	    mv psort/bin/psort.debsave psort/bin/psort ; \
	fi

override_dh_auto_configure:
	cp -a psort/bin/psort psort/bin/psort.debsave
	dh_auto_configure

override_dh_auto_build:
	# hack around the issue that configure injects wrong root dir /usr/local/psortb
	mv psort/bin/psort.debsave psort/bin/psort
	dh_auto_build

override_dh_fixperms:
	dh_fixperms
	chmod +x debian/$(DEB_SOURCE)/usr/lib/psort/conf/analysis/signal/archaea/check-sig