File: rules

package info (click to toggle)
onioncircuits 0.7-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 588 kB
  • sloc: python: 459; sh: 24; makefile: 17
file content (24 lines) | stat: -rwxr-xr-x 661 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
#! /usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

export PYBUILD_NAME=onioncircuits

%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_install:
	install -m 644 -D apparmor/usr.bin.onioncircuits debian/onioncircuits/etc/apparmor.d/usr.bin.onioncircuits
	dh_apparmor --profile-name=usr.bin.onioncircuits -ponioncircuits

override_dh_installman:
	help2man -S 'Tails project' \
	  -n 'display Tor circuits and streams' \
	  -N --version-string="$(DEB_VERSION_UPSTREAM_REVISION)" \
	  -i debian/extra-man-info.txt \
	  $(CURDIR)/onioncircuits > debian/onioncircuits.1
	dh_installman

override_dh_auto_clean:
	rm -f debian/onioncircuits.1
	dh_clean