File: rules

package info (click to toggle)
git-phab 2.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 324 kB
  • ctags: 17
  • sloc: python: 3,062; makefile: 11
file content (18 lines) | stat: -rwxr-xr-x 506 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export PYBUILD_DISABLE=clean configure build install

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

override_dh_installman:
	a2x --doctype manpage --format manpage git-phab.txt
	dh_bash-completion
	dh_installman

get-orig-source: VERSION:=$(shell dpkg-parsechangelog -S Version | cut -d - -f 1 | tr '~' _)

get-orig-source:
	git archive -9 --format=tar.xz --prefix=git-phab-$(VERSION)/ -o git-phab-$(VERSION).tar.xz upstream/$(VERSION)

.PHONY: override_dh_installman get-orig-source