File: rules

package info (click to toggle)
dblatex 0.3.12py3-5
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 12,880 kB
  • sloc: xml: 102,889; python: 8,274; makefile: 117; sh: 48
file content (22 lines) | stat: -rwxr-xr-x 541 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

%:
	dh $@ --buildsystem=pybuild

execute_beforee_dh_clean:
	rm --force --recursive docs/examples/

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

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

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