File: rules

package info (click to toggle)
cwltool 1.0.20170114120503-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,368 kB
  • sloc: python: 4,573; makefile: 102; sh: 11
file content (27 lines) | stat: -rwxr-xr-x 765 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/make -f

DH_VERBOSE := 1

export PYBUILD_NAME=cwltool
export PYBUILD_DISABLE=test
export HOME=$(shell echo $$PWD"/fakehome")

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

override_dh_auto_build:
	#find cwltool -name "*.py" | xargs sed -i 's/.*typing.*/#&/g'
	dh_auto_build

debian/cwltool.1: debian/rules debian/cwltool.help2man
	python2 setup.py develop --user
	#help2man cwltool/main.py -I debian/cwltool.help2man -N -n "Reference executor for Common Workflow Language" -o debian/cwltool.1
	help2man 'python -m cwltool' -I debian/cwltool.help2man -N -o debian/cwltool.1

override_dh_installman: debian/cwltool.1
	dh_installman

override_dh_clean:
	dh_clean
	rm -f debian/cwltool.1
	#find cwltool -name "*.py" | xargs sed -i 's/#\(.*typing.*\)/\1/g'