File: rules

package info (click to toggle)
mma 21.09-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 51,828 kB
  • sloc: python: 16,751; sh: 26; makefile: 18; perl: 12
file content (27 lines) | stat: -rwxr-xr-x 593 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
26
27
#!/usr/bin/make -f

%:
	dh $@ --with python3

override_dh_clean:
	dh_clean -X#

override_dh_install:
	dh_install -X.mmaDB -Xlib-files.tar.gz -X#

override_dh_installdocs:
	dh_installdocs -X# -XCOPYING
	zcat debian/chords.pdf.gz > debian/mma/usr/share/doc/mma/pdf/chords.pdf
	# Remove READMEs in wrong places
	rm debian/mma/usr/share/mma/lib/README
	rm debian/mma/usr/share/mma/lib/*/README
	rm debian/mma/usr/share/mma/includes/README

override_dh_installexamples:
	dh_installexamples -X#

override_dh_compress:
	dh_compress -X.pdf

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