File: rules

package info (click to toggle)
onioncircuits 0.4-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 168 kB
  • ctags: 15
  • sloc: python: 440; sh: 23; makefile: 14
file content (19 lines) | stat: -rwxr-xr-x 485 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

export PYBUILD_NAME=onioncircuits
UPSTREAM_VERSION=$(shell dpkg-parsechangelog -SVersion | cut -d- -f1)

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

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

override_dh_auto_clean:
	rm -f debian/onioncircuits.1
	dh_clean