File: rules

package info (click to toggle)
weasyprint 57.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,612 kB
  • sloc: python: 46,724; makefile: 12
file content (23 lines) | stat: -rwxr-xr-x 450 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

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

override_dh_python3:
	dh_python3 -p weasyprint

override_dh_installman:
	PYTHONPATH=.:$PYTHONPATH sphinx-build -b man docs debian
	dh_installman

override_dh_auto_clean:
	dh_auto_clean
	rm -rf $(CURDIR)/debian/.doctrees
	rm -rf $(CURDIR)/debian/weasyprint.1

override_dh_auto_test:
	# Needs network