File: rules

package info (click to toggle)
gerritlib 0.4.0%2Bgit20150319-2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 160 kB
  • ctags: 66
  • sloc: python: 326; makefile: 128
file content (8 lines) | stat: -rwxr-xr-x 275 bytes parent folder | download
1
2
3
4
5
6
7
8
#!/usr/bin/make -f

# Parse version from debian changelog (or pbr will try to use Git commit)
export PBR_VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version: //p' | cut -f1 -d '-')
export PYBUILD_NAME=gerritlib

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