File: rules

package info (click to toggle)
python-cdd 0.0.11%2Bnmu1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 268 kB
  • ctags: 139
  • sloc: python: 1,041; makefile: 6
file content (12 lines) | stat: -rwxr-xr-x 325 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk

configure/python-cdd::
	# Fill the vars
	sed -i "s/version = .*,/version = '$(shell dpkg-parsechangelog | grep '^Version:' | awk '{ print $$2; }')',/g" setup.py

clean::
	find . -iname *.py? -exec rm {} \;