File: rules

package info (click to toggle)
yapf 0.43.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,428 kB
  • sloc: python: 18,992; sh: 33; makefile: 7
file content (12 lines) | stat: -rwxr-xr-x 333 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f
#export DH_VERBOSE = 1

export PYBUILD_NAME=yapf
export PYBUILD_DESTDIR=debian/python3-${PYBUILD_NAME}

%:
	dh $@  --buildsystem=pybuild --verbose

execute_after_dh_auto_install:
	dh_movefiles --package=yapf3 --sourcedir=$(PYBUILD_DESTDIR) usr/bin
	(cd $(CURDIR)/debian/yapf3 && mv ./usr/bin/yapf ./usr/bin/yapf3)