File: rules

package info (click to toggle)
dblatex 0.3.12py3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 12,684 kB
  • sloc: xml: 102,889; python: 8,259; makefile: 119; sh: 48
file content (25 lines) | stat: -rwxr-xr-x 612 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
24
25
#!/usr/bin/make -f

# Use the debhelper command sequencer.
%:
	dh $@ --buildsystem=pybuild --with python3

override_dh_clean:
	rm --force --recursive docs/examples/
	dh_clean

override_dh_auto_build:
	# - Nothing to be compiled
	# - Don't call build_doc, as it's superfluous and will run into
	#   bootstrap problems.

override_dh_installchangelogs:
	dh_installchangelogs docs/changes/changes.txt

override_dh_installexamples:
	tar --directory=docs --extract --bzip2 --exclude=COPYRIGHT \
	    --file=examples/examples-src.tar.bz2
	dh_installexamples

override_dh_python3:
	dh_python3 --shebang=/usr/bin/python3