File: rules

package info (click to toggle)
piuparts 1.6.0
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 72,532 kB
  • sloc: python: 8,240; sh: 4,367; makefile: 171
file content (25 lines) | stat: -rwxr-xr-x 704 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/make -f

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

export GOCACHE := $(CURDIR)/.gocache
export GO111MODULE := auto

%:
	dh $@ --with python3,sphinxdoc

override_dh_auto_build:
	$(MAKE) prefix=/usr build build-doc

override_dh_auto_install:
	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp prefix=/usr etcdir=/etc install install-doc install-conf

override_dh_python3:
	dh_python3 -p piuparts-master -p piuparts-slave /usr/share/piuparts --shebang=/usr/bin/python3
	dh_python3 -N piuparts-master -N piuparts-slave

override_dh_dwz:
	# Workaround for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933541
	# (this workaround can be dropped with debhelper from buster-backports)
	: