File: rules

package info (click to toggle)
swiftsc 0.5-1.2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 216 kB
  • sloc: python: 574; sh: 19; makefile: 6
file content (12 lines) | stat: -rwxr-xr-x 449 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export PYBUILD_NAME=swiftsc
export PYBUILD_BEFORE_TEST=mkdir -p {build_dir}/src/swiftsc_tests ; cp -r {dir}/src/swiftsc_tests/*.txt {build_dir}/src/swiftsc_tests
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/src/swiftsc_tests
export PYBUILD_AFTER_INSTALL=rm -rf {destdir}/{install_dir}/swiftsc_tests

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