File: rules

package info (click to toggle)
pithos 1.1.2-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 656 kB
  • ctags: 498
  • sloc: python: 3,157; xml: 55; makefile: 12
file content (19 lines) | stat: -rwxr-xr-x 450 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
# -*- mode: makefile; coding: utf-8 -*-

export DH_VERBOSE = 1

export PYBUILD_INSTALL_ARGS_python3=--install-lib=/usr/share/pithos/

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

override_dh_auto_install:
	dh_auto_install
	pandoc -s -w man ./debian/pithos.1.md -o pithos.1
	mv debian/pithos/usr/bin/pithos debian/pithos/usr/share/pithos/run_pithos

override_dh_auto_clean:
	python3 setup.py clean -a
	py3clean .
	rm -f pithos.1