File: rules

package info (click to toggle)
sx 2.0+ds-4
  • links: PTS
  • area: main
  • in suites: buster, sid, stretch
  • size: 11,980 kB
  • ctags: 9,945
  • sloc: ansic: 106,492; sh: 14,484; perl: 1,246; makefile: 572; python: 255
file content (24 lines) | stat: -rwxr-xr-x 579 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
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

# This has to be exported to make some magic below work.
export DH_OPTIONS

.PHONY: override_dh_auto_configure
override_dh_auto_configure:
	dh_auto_configure -- --with-system-libs --disable-sxhttpd

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

# prints failure log to stdout so that it ends up in the build log
.PHONY: override_dh_auto_test
override_dh_auto_test:
	make check VERBOSE=1

.PHONY: override_dh_installinit
override_dh_installinit:
	dh_installinit --restart-after-upgrade