File: rules

package info (click to toggle)
annexremote 1.6.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 400 kB
  • sloc: python: 1,637; sh: 24; makefile: 10
file content (15 lines) | stat: -rwxr-xr-x 351 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export DH_VERBOSE = 1
export PYBUILD_NAME=annexremote

export PYBUILD_BEFORE_TEST=cp -r {dir}/tests {build_dir}
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/tests

%:
	dh $@ --buildsystem=pybuild

clean::
	dh_clean
	-rm -rf __pycache__ build .pybuild annexremote.egg-info dist
	-find . -name __pycache__ -type d -exec rm -rf {} \;