File: rules

package info (click to toggle)
anki 2.1.8%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 5,976 kB
  • sloc: python: 26,992; xml: 67; sh: 49; makefile: 45
file content (24 lines) | stat: -rwxr-xr-x 493 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
#!/usr/bin/make -f

export PYBUILD_NAME=anki

%:
	dh $@ --with python3

override_dh_auto_build:
	# standard make target only prints help message

override_dh_auto_install:
	# prevent Makefile install target being run

override_dh_install:
	dh_install
	cp debian/anki-launcher debian/anki/usr/bin/anki

override_dh_fixperms:
	find debian/anki/usr/share/anki -type f -perm -1 -exec chmod a-x {} \;
	dh_fixperms

override_dh_clean:
	find . -type f -a -name '*.py[co]' -exec rm -f {} \;
	dh_clean