File: rules

package info (click to toggle)
git-buildpackage 0.9.30
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 8,700 kB
  • sloc: python: 18,390; xml: 8,558; sh: 698; makefile: 123
file content (17 lines) | stat: -rwxr-xr-x 366 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_test:
	make

execute_after_dh_auto_build:
	make docs

execute_after_dh_fixperms:
	chmod a+x debian/git-buildpackage/usr/lib/python3/dist-packages/gbp/scripts/supercommand.py

execute_after_dh_auto_clean:
	make -C docs/ clean
	find gbp -name __init__.py -printf '%h/__pycache__/\n' | xargs rm -fr