File: rules

package info (click to toggle)
ttconv 1.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,460 kB
  • sloc: python: 19,811; sh: 44; makefile: 7
file content (13 lines) | stat: -rwxr-xr-x 496 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

#export DH_VERBOSE = 1
export PYBUILD_NAME=ttconv

export PYBUILD_BEFORE_TEST=mkdir -p {build_dir}/src; cp -a src/test {build_dir}/src; cp -a debian/missing-sources/imsc-tests {build_dir}/src/test/resources/ttml/
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/build {build_dir}/src

%:
	dh $@ --buildsystem=pybuild

execute_after_dh_auto_install:	# prevent conflict with other binary
	mv $(CURDIR)/debian/python3-ttconv/usr/bin/tt $(CURDIR)/debian/python3-ttconv/usr/bin/ttconv